summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@us.ibm.com>2017-02-01 21:23:50 -0500
committerBrad Bishop <bradleyb@us.ibm.com>2017-02-01 21:28:16 -0500
commitd782d8eb00636365d21e0aae12a6621aeda74b18 (patch)
treeb098a670644e3f01265c5c72e78f63e6237e017b
parenta35237633ac89d6b9932dbdb68e1a50072f9e8b2 (diff)
downloadphosphor-led-manager-d782d8eb00636365d21e0aae12a6621aeda74b18.zip
phosphor-led-manager-d782d8eb00636365d21e0aae12a6621aeda74b18.tar.gz
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>
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac1
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 25e061a..921ec4c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -11,7 +11,7 @@ BUILT_SOURCES = led-gen.hpp
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_DEFINE_UNQUOTED([OBJPATH], ["$OBJPATH"], [The Ledmanager Dbus root])
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])
OpenPOWER on IntegriCloud