summaryrefslogtreecommitdiffstats
path: root/user_channel
diff options
context:
space:
mode:
authorofery <ofery@goole.com>2019-06-10 16:02:37 -0700
committerVernon Mauery <vernon.mauery@linux.intel.com>2019-06-18 22:31:04 +0000
commit61d8dcc69736acae379e3e7ed7ecf6a85955db76 (patch)
treec15b97f6834a1517de057a1cc7b4bc9793d45d3d /user_channel
parent0b979b61c12ffe6ab8a27acf8ad2a0165d687195 (diff)
downloadphosphor-host-ipmid-61d8dcc69736acae379e3e7ed7ecf6a85955db76.tar.gz
phosphor-host-ipmid-61d8dcc69736acae379e3e7ed7ecf6a85955db76.zip
Add an option to exclude libuserlayer from host-ipmid
Change-Id: I8e14cfd3719c7fbef739f2aa01771bc4321ce290 Signed-off-by: Ofer Yehielli <ofery@google.com> Tested: Enabled the exclude libuserlayer flag in recipes-phosphor/ipmi/phosphor-ipmi-host_%.bbappend +EXTRA_OECONF_append_xxx = " --disable-libuserlayer" +HOSTIPMI_PROVIDER_LIBRARY_remove_xxx = "libusercmds.so" +NETIPMI_PROVIDER_LIBRARY_remove_xxx = "libusercmds.so" Clean build and test that userlayer.so doesn't get included in the build
Diffstat (limited to 'user_channel')
-rw-r--r--user_channel/Makefile.am9
1 files changed, 8 insertions, 1 deletions
diff --git a/user_channel/Makefile.am b/user_channel/Makefile.am
index 3860a39..747c4c8 100644
--- a/user_channel/Makefile.am
+++ b/user_channel/Makefile.am
@@ -12,7 +12,12 @@ COMMON_CXX = \
-DBOOST_ASIO_DISABLE_THREADS \
-DBOOST_ALL_NO_LIB
-lib_LTLIBRARIES = libuserlayer.la libchannellayer.la
+
+lib_LTLIBRARIES =
+
+if FEATURE_LIBUSERLAYER
+
+lib_LTLIBRARIES += libuserlayer.la
libuserlayer_la_SOURCES = \
user_layer.cpp \
user_mgmt.cpp \
@@ -29,7 +34,9 @@ libuserlayer_la_LDFLAGS = \
libuserlayer_la_CXXFLAGS = \
-I$(top_srcdir) \
$(COMMON_CXX)
+endif
+lib_LTLIBRARIES += libchannellayer.la
libchannellayer_la_SOURCES = \
channel_mgmt.cpp \
channel_layer.cpp
OpenPOWER on IntegriCloud