[oe] [meta-oe][PATCH 4/8] libftdi: set correct LIB_SUFFIX for multilib
Yi Zhao
yi.zhao at windriver.com
Fri Aug 21 06:46:45 UTC 2015
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"
--
1.7.9.5
More information about the Openembedded-devel
mailing list