summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-10-03 11:12:53 -0700
committerPatrick Venture <venture@google.com>2018-10-09 03:20:14 +0000
commite225540cc7dc627c85a976fdc7ff0221b64ed937 (patch)
tree7c1a06e84cf5b7105f6265ffd2d314c3519ed983
parentb15b3050600f0201cd0fa81b88af270bb2720de5 (diff)
downloadphosphor-ipmi-blobs-e225540cc7dc627c85a976fdc7ff0221b64ed937.tar.gz
phosphor-ipmi-blobs-e225540cc7dc627c85a976fdc7ff0221b64ed937.zip
build: fixup paths to leverage ipmiprovider symlinks
Add a comment and fix up the destination folder for the example handler. Change-Id: Idc3bfbb77d4d103092b49c7cc63d462fe23a5f61 Signed-off-by: Patrick Venture <venture@google.com>
-rw-r--r--Makefile.am19
1 files changed, 12 insertions, 7 deletions
diff --git a/Makefile.am b/Makefile.am
index d9c5590..c368df1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -24,14 +24,19 @@ nobase_include_HEADERS = \
blobs-ipmid/test/blob_mock.hpp \
blobs-ipmid/test/manager_mock.hpp
+# Install the blob handlers in ipmid-providers so you can leverage
+# meta-phosphor/blob/master/classes/obmc-phosphor-ipmiprovider-symlink.bbclass
+# Which will create a symlink in ${D}/${libdir}/blob-ipmid/ pointing to the
+# library in ${D}/${libdir}/ipmid-providers/
+
# Always build but only installed if you add the item:
# BLOBIPMI_PROVIDER_LIBRARY += "libexample.so"
-libexampledir = ${libdir}/blob-providers
-libexample_LTLIBRARIES = libexample.la
-libexample_la_SOURCES = example/example.cpp
-libexample_la_LDFLAGS = $(PHOSPHOR_LOGGING_LIBS) \
- -version-info 0:0:0 -shared
-libexample_la_CXXFLAGS = $(PHOSPHOR_LOGGING_CFLAGS) \
- -flto
+libblobexampledir = ${libdir}/ipmid-providers
+libblobexample_LTLIBRARIES = libblobexample.la
+libblobexample_la_SOURCES = example/example.cpp
+libblobexample_la_LDFLAGS = $(PHOSPHOR_LOGGING_LIBS) \
+ -version-info 0:0:0 -shared
+libblobexample_la_CXXFLAGS = $(PHOSPHOR_LOGGING_CFLAGS) \
+ -flto
SUBDIRS = . test
OpenPOWER on IntegriCloud