diff options
author | Vernon Mauery <vernon.mauery@linux.intel.com> | 2018-12-21 10:59:19 -0800 |
---|---|---|
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | 2019-02-25 22:27:05 +0000 |
commit | 1bb0c7fc55b21bb40b7afb567f2f938f15411ca1 (patch) | |
tree | 85365c29e34d2b5d69a63f5d7406618e633fb0c3 /Makefile.am | |
parent | 99d1ba0519b313ab1306a33c7d0f7a0a1d6edb0a (diff) | |
download | phosphor-host-ipmid-1bb0c7fc55b21bb40b7afb567f2f938f15411ca1.tar.gz phosphor-host-ipmid-1bb0c7fc55b21bb40b7afb567f2f938f15411ca1.zip |
ipmid: move channel code from libuserlayer to libchannellayer
Separate the channel implementation from the user implementation. It is
possible to link only against the channel layer, but if code is using
the user layer, it is likely to need both user and channel code.
This makes it so that ipmid can support the notion of channels without
supporting users.
Change-Id: I3a7eb7c004e1c2f8aeb696180139cf68c2c4aac0
Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/Makefile.am b/Makefile.am index 20af6ed..bb7bdbf 100644 --- a/Makefile.am +++ b/Makefile.am @@ -95,6 +95,7 @@ libipmi20_la_SOURCES = \ ipmi_fru_info_area.cpp \ read_fru_data.cpp \ sensordatahandler.cpp \ + user_channel/channelcommands.cpp \ $(libipmi20_BUILT_LIST) @CODE_COVERAGE_RULES@ @@ -106,8 +107,7 @@ TESTS = $(check_PROGRAMS) libipmi20_la_LIBADD = \ libipmid/libipmid.la \ - user_channel/libchannellayer.la \ - user_channel/libuserlayer.la + user_channel/libchannellayer.la libipmi20_la_LDFLAGS = \ $(SYSTEMD_LIBS) \ $(libmapper_LIBS) \ @@ -122,15 +122,12 @@ libusercmds_la_LIBADD = \ libipmid/libipmid.la \ user_channel/libuserlayer.la libusercmds_la_SOURCES = \ - user_channel/usercommands.cpp \ - user_channel/channelcommands.cpp + user_channel/usercommands.cpp libusercmds_la_LDFLAGS = \ $(PHOSPHOR_LOGGING_LIBS) \ $(LIBS) \ -version-info 0:0:0 -shared -libusercmds_la_CXXFLAGS = \ - $(PHOSPHOR_LOGGING_CFLAGS) \ - -flto +libusercmds_la_CXXFLAGS = $(COMMON_CXX) providers_LTLIBRARIES += libsysintfcmds.la libsysintfcmds_la_LIBADD = \ |