diff options
author | Tom Joseph <tomjoseph@in.ibm.com> | 2017-08-01 23:02:55 +0530 |
---|---|---|
committer | Tom Joseph <tomjoseph@in.ibm.com> | 2017-08-04 22:40:08 +0530 |
commit | f22bf820930321f8ebf8b4b62a7bd772a4fa2432 (patch) | |
tree | 793a66e9494cdf7c5f89a7fcc297f1ab9d4f4780 | |
parent | 06e3d50226b9e949f1074a5550fffae8607f04a2 (diff) | |
download | phosphor-inventory-manager-f22bf820930321f8ebf8b4b62a7bd772a4fa2432.tar.gz phosphor-inventory-manager-f22bf820930321f8ebf8b4b62a7bd772a4fa2432.zip |
Add variable to define base path of yamls
Resolves openbmc/openbmc#2054
Change-Id: I183e9cbc034c9c14114301abf93318aba6fff22e
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
-rw-r--r-- | Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index a78f45e..78418a1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,6 +6,7 @@ sbin_PROGRAMS = phosphor-inventory noinst_LTLIBRARIES = libmanagercommon.la libmanager.la extra_yamldir=$(YAML_PATH)/extra_interfaces.d +base_yamldir=$(YAML_PATH) phosphor_inventory_SOURCES = app.cpp phosphor_inventory_LDADD = libmanager.la $(SDBUSPLUS_LIBS) @@ -40,7 +41,7 @@ PIMGEN_ARGS=-i $(IFACES_PATH) endif generated.cpp: - $(AM_V_GEN)$(PYTHON) $(top_srcdir)/pimgen.py $(PIMGEN_ARGS) -d $(extra_yamldir)/.. -o $(builddir) generate-cpp + $(AM_V_GEN)$(PYTHON) $(top_srcdir)/pimgen.py $(PIMGEN_ARGS) -d $(base_yamldir) -o $(builddir) generate-cpp SUBDIRS = . test |