Fix build issues
Somewhere along the line the repo stopped building. Fix a couple
minor build issues.
Change-Id: I17e24a6f7f1a9946b5c6b5b6544a0f6f172a585f
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/Makefile.am b/Makefile.am
index 25e061a..921ec4c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -11,7 +11,7 @@
CLEANFILES = led-gen.hpp
led-gen.hpp: ${srcdir}/parse_led.py
- $(AM_V)@LEDGEN@ -d $YAML_PATH > $@
+ $(AM_V)@LEDGEN@ > $@
phosphor_ledmanager_LDFLAGS = $(SYSTEMD_LIBS)
phosphor_ledmanager_CFLAGS = $(SYSTEMD_CFLAGS)
diff --git a/configure.ac b/configure.ac
index cb7911e..8e41173 100644
--- a/configure.ac
+++ b/configure.ac
@@ -61,6 +61,7 @@
AC_ARG_VAR(YAML_PATH, [The path to the yaml config files.])
AS_IF([test "x$YAML_PATH" == "x"], [YAML_PATH="$srcdir"])
LEDGEN="$PYTHON $srcdir/parse_led.py -d $YAML_PATH"
+AC_SUBST(LEDGEN)
# Create configured output
AC_CONFIG_FILES([Makefile test/Makefile])