From ac149a94543c9fae468cf45e47103998153c89a5 Mon Sep 17 00:00:00 2001 From: Vishwanatha Subbanna Date: Tue, 11 Jul 2017 18:16:50 +0530 Subject: Define the Manager for handling host bound commands Since some of the host bound commands are valid only for OpenPower systems, a manager is needed, which can handle commands from OpenBmc common code and also OpenPower implementations. Change-Id: Icf6566e701921ecea4c8cff1c16e498385303396 Signed-off-by: Vishwanatha Subbanna --- Makefile.am | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 18b198c..ea44248 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,8 +5,10 @@ sbin_PROGRAMS = \ ipmid_SOURCES = \ ipmid.cpp \ - settings.cpp - + settings.cpp \ + host-cmd-manager.cpp \ + timer.cpp \ + utils.cpp nodist_ipmid_SOURCES = ipmiwhitelist.cpp BUILT_SOURCES = \ @@ -18,11 +20,9 @@ BUILT_SOURCES = \ CLEANFILES = $(BUILT_SOURCES) #TODO - Make this path a configure option (bitbake parameter) -ipmid_CPPFLAGS = \ - -DHOST_IPMI_LIB_PATH=\"/usr/lib/host-ipmid/\" \ - $(PHOSPHOR_LOGGING_CFLAGS) \ - $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) - +ipmid_CPPFLAGS = -DHOST_IPMI_LIB_PATH=\"/usr/lib/host-ipmid/\" \ + $(PHOSPHOR_LOGGING_CFLAGS) \ + $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) ipmid_LDFLAGS = \ $(SYSTEMD_LIBS) \ $(libmapper_LIBS) \ @@ -30,6 +30,7 @@ ipmid_LDFLAGS = \ $(PHOSPHOR_LOGGING_LIBS) \ $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ -export-dynamic + # TODO: Rather than use -export-dynamic, we should use -export-symbol to have a # selective list of symbols. -- cgit v1.2.1