summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVishwanatha Subbanna <vishwa@linux.vnet.ibm.com>2017-01-12 12:35:14 +0530
committerVishwanatha Subbanna <vishwa@linux.vnet.ibm.com>2017-01-12 12:35:14 +0530
commit98691fa88d107a1649847b032f1a9b1218061324 (patch)
treeb4645bdff952b6d57b62f294bda70b5c2eb96dc2
parent447d0c8e89f3dbd6cafcfb81134a1551984a5ddd (diff)
downloadphosphor-led-manager-98691fa88d107a1649847b032f1a9b1218061324.tar.gz
phosphor-led-manager-98691fa88d107a1649847b032f1a9b1218061324.zip
Use python from toolchain instead of local copy
Previous commit used /usr/bin/python to parse a yaml file and that resulted in CI failures and this patch corrects that by using the one in toolchain. Change-Id: I0f3efcab0c0f620a6ddb7b3500aca5694351fe10 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
-rw-r--r--Makefile.am3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 1557aad..04dab40 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -10,9 +10,8 @@ phosphor_ledmanager_SOURCES = \
BUILT_SOURCES = led-gen.hpp
CLEANFILES = led-gen.hpp
-PYTHON="/usr/bin/python"
led-gen.hpp: ${srcdir}/parse_led.py
- ${AM_V_at}${PYTHON} $^ > $@
+ $(PYTHON) $^ > $@
phosphor_ledmanager_LDFLAGS = $(SYSTEMD_LIBS)
phosphor_ledmanager_CFLAGS = $(SYSTEMD_CFLAGS)
OpenPOWER on IntegriCloud