[oe-commits] Yi Zhao : libftdi: set correct LIB_SUFFIX for multilib
git at git.openembedded.org
git at git.openembedded.org
Mon Aug 24 12:25:55 UTC 2015
Module: meta-openembedded.git
Branch: master-next
Commit: 02cfec37db2e7e45060223c25bb23054877d7e67
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=02cfec37db2e7e45060223c25bb23054877d7e67
Author: Yi Zhao <yi.zhao at windriver.com>
Date: Fri Aug 21 14:13:32 2015 +0800
libftdi: set correct LIB_SUFFIX for multilib
Fix QA issue when enable multilib:
ERROR: QA Issue: libftdi: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/libftdipp1.so
/usr/lib/libftdi1.so
/usr/lib/libftdipp1.so.2.1.0
/usr/lib/libftdi1.so.2
/usr/lib/libftdipp1.a
/usr/lib/libftdipp1.so.2
[snip]
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. [installed-vs-shipped]
Signed-off-by: Yi Zhao <yi.zhao at windriver.com>
---
meta-oe/recipes-support/libftdi/libftdi_1.1.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-oe/recipes-support/libftdi/libftdi_1.1.bb b/meta-oe/recipes-support/libftdi/libftdi_1.1.bb
index d8b189b..44e040c 100644
--- a/meta-oe/recipes-support/libftdi/libftdi_1.1.bb
+++ b/meta-oe/recipes-support/libftdi/libftdi_1.1.bb
@@ -24,6 +24,8 @@ PACKAGECONFIG[cpp-wrapper] = "-DFTDI_BUILD_CPP=on,-DFTDI_BUILD_CPP=off,boost"
inherit cmake binconfig pkgconfig
+EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib', True).replace('lib', '')}"
+
FILES_${PN}-dev += "${libdir}/cmake"
BBCLASSEXTEND = "native"
More information about the Openembedded-commits
mailing list