From d782d8eb00636365d21e0aae12a6621aeda74b18 Mon Sep 17 00:00:00 2001 From: Brad Bishop Date: Wed, 1 Feb 2017 21:23:50 -0500 Subject: 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 --- Makefile.am | 2 +- configure.ac | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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]) -- cgit v1.2.1