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@windriver.com>
This commit is contained in:
Yi Zhao
2015-08-21 14:13:32 +08:00
committed by Martin Jansa
parent 31c98b41c3
commit beffd4f741
@@ -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"