From e8c4ffd43623eeddb9750faf801531813dcb05ad Mon Sep 17 00:00:00 2001 From: Deepak Kodihalli Date: Mon, 20 Feb 2017 01:20:08 -0600 Subject: 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 --- Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile.am') 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@ -- cgit v1.2.1