summaryrefslogtreecommitdiffstats
path: root/user_channel
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2018-12-10 15:27:20 -0800
committerVernon Mauery <vernon.mauery@linux.intel.com>2018-12-13 16:56:14 +0000
commit785fb071999c16a8d786e3d01406ece22bf46b0c (patch)
tree1222a83f66b0962f36e56d482c80172f1c2aee89 /user_channel
parent2723f38f75233368d3ec346c9527f6736e9b801e (diff)
downloadphosphor-host-ipmid-785fb071999c16a8d786e3d01406ece22bf46b0c.tar.gz
phosphor-host-ipmid-785fb071999c16a8d786e3d01406ece22bf46b0c.zip
make: Build user_channel separately
We need to make sure that libuserlayer is installed before libipmi20 tries to install + relink. Otherwise the relink will fail causing the build to sometimes fail. We can only guarantee this ordering safely by using automake SUBDIRS since they are guaranteed to be executed in order. Change-Id: I6488eecb504f72273e97cfcf336e5bbd816c4137 Signed-off-by: William A. Kennington III <wak@google.com>
Diffstat (limited to 'user_channel')
-rw-r--r--user_channel/Makefile.am20
1 files changed, 20 insertions, 0 deletions
diff --git a/user_channel/Makefile.am b/user_channel/Makefile.am
new file mode 100644
index 0000000..0b62ada
--- /dev/null
+++ b/user_channel/Makefile.am
@@ -0,0 +1,20 @@
+lib_LTLIBRARIES = libuserlayer.la
+libuserlayer_la_SOURCES = \
+ user_layer.cpp \
+ user_mgmt.cpp \
+ passwd_mgr.cpp \
+ channel_mgmt.cpp \
+ channel_layer.cpp
+libuserlayer_la_LDFLAGS = \
+ $(SYSTEMD_LIBS) \
+ $(libmapper_LIBS) \
+ $(PHOSPHOR_LOGGING_LIBS) \
+ $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
+ -lstdc++fs \
+ $(CRYPTO_LIBS) \
+ -version-info 0:0:0 -shared
+libuserlayer_la_CXXFLAGS = \
+ $(SYSTEMD_CFLAGS) \
+ $(libmapper_CFLAGS) \
+ $(PHOSPHOR_LOGGING_CFLAGS) \
+ $(PHOSPHOR_DBUS_INTERFACES_CFLAGS)
OpenPOWER on IntegriCloud