summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@openwide.fr>2014-01-24 21:34:21 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2014-01-26 21:03:24 (GMT)
commita74767181387b168f6370899af964a1678b0a8cf (patch)
tree4bd3a53e4bc1199d5e193bb79b5c483a22e4155a
parent34924f620d7151d8f1d4f5561c754cdd63ab10b5 (diff)
downloadbuildroot-a74767181387b168f6370899af964a1678b0a8cf.tar.gz
buildroot-a74767181387b168f6370899af964a1678b0a8cf.tar.bz2
openpowerlink: force static library build
There is no shared lib in openpowerlink, so force static lib to build libpowerlink.a Fixes: http://autobuild.buildroot.net/results/b33/b33008d260c95bedc52bed48f191f76843612ef9/build-end.log http://autobuild.buildroot.net/results/c46/c464bdfb8edaaf69d49ade92ef9cc6f45cc73362/build-end.log Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/openpowerlink/openpowerlink.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/openpowerlink/openpowerlink.mk b/package/openpowerlink/openpowerlink.mk
index 3a60478..37a06e5 100644
--- a/package/openpowerlink/openpowerlink.mk
+++ b/package/openpowerlink/openpowerlink.mk
@@ -22,6 +22,10 @@ endif
OPENPOWERLINK_CONF_OPT = -DCMAKE_SYSTEM_PROCESSOR=$(OPENPOWERLINK_ARCH)
+# There is no shared lib in openpowerlink,
+# so force static lib to build libpowerlink.a
+OPENPOWERLINK_CONF_OPT += -DBUILD_SHARED_LIBS=OFF
+
ifeq ($(BR2_ENABLE_DEBUG),y)
OPENPOWERLINK_CONF_OPT += -DCMAKE_BUILD_TYPE=Debug
else