summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorDeepak Kodihalli <dkodihal@in.ibm.com>2017-02-20 01:20:08 -0600
committerPatrick Williams <patrick@stwcx.xyz>2017-02-21 16:35:57 +0000
commite8c4ffd43623eeddb9750faf801531813dcb05ad (patch)
treed1d4c7f1156f4afadc9eac5b25f7c7aa6d1efbc1 /Makefile.am
parentbe05107252a78bc4aced2d228e99b724ca65d2dd (diff)
downloadipmi-fru-parser-e8c4ffd43623eeddb9750faf801531813dcb05ad.zip
ipmi-fru-parser-e8c4ffd43623eeddb9750faf801531813dcb05ad.tar.gz
build : provide extra properties yaml as config
Make it possible for the openpower-vpd-parser recipe to be able to supply the extra properties YAML as configurable input. Use extra-properties-example.yaml as input. Change-Id: I3cfffa6bb9709b4dbf5c487ab198960cc52e3863 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 8d4b79b..870583d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-BUILT_SOURCES=fru-gen.cpp
+BUILT_SOURCES=fru-gen.cpp extra-properties-gen.cpp
AM_DEFAULT_SOURCE_EXT = .cpp
CLEANFILES=$(BUILT_SOURCES)
@@ -11,7 +11,7 @@ phosphor_read_eeprom_CXXFLAGS = $(SYSTEMD_CFLAGS) $(libmapper_CFLAGS)
phosphor_read_eeprom_LDADD = libwritefrudata.la
lib_LTLIBRARIES = libwritefrudata.la
-libwritefrudata_la_SOURCES = frup.cpp fru-gen.cpp writefrudata.cpp
+libwritefrudata_la_SOURCES = frup.cpp fru-gen.cpp writefrudata.cpp extra-properties-gen.cpp
libwritefrudata_la_LDFLAGS = $(SYSTEMD_LIBS) $(libmapper_LIBS) $(SDBUSPLUS_LIBS) -version-info 1:0:0 -shared
libwritefrudata_la_CXXFLAGS = $(SYSTEMD_CFLAGS) $(libmapper_CFLAGS) $(SDBUSPLUS_CFLAGS)
@@ -23,3 +23,5 @@ libstrgfnhandler_la_LIBADD = libwritefrudata.la
fru-gen.cpp:
$(AM_V_GEN)@FRUGEN@ -o $(top_builddir) generate-cpp
+extra-properties-gen.cpp:
+ $(AM_V_GEN)@PROPGEN@
OpenPOWER on IntegriCloud