[oe] [meta-oe][PATCH 1/8] tomoyo-tools: pass correct libdir to make

Yi Zhao yi.zhao at windriver.com
Fri Aug 21 06:46:42 UTC 2015


Fix QA issue when enable multilib:
ERROR: QA Issue: tomoyo-tools: Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/lib/libtomoyotools.so.3.0.2
  /usr/lib/libtomoyotools.so.3
  /usr/lib/.debug
  /usr/lib/tomoyo
  /usr/lib/.debug/libtomoyotools.so.3.0.2
  /usr/lib/tomoyo/init_policy
  [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>
---
 .../tomoyo-tools/tomoyo-tools_2.5.0.bb             |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/tomoyo-tools/tomoyo-tools_2.5.0.bb b/meta-oe/recipes-support/tomoyo-tools/tomoyo-tools_2.5.0.bb
index adb538b..ac8593c 100644
--- a/meta-oe/recipes-support/tomoyo-tools/tomoyo-tools_2.5.0.bb
+++ b/meta-oe/recipes-support/tomoyo-tools/tomoyo-tools_2.5.0.bb
@@ -18,7 +18,8 @@ FILES_${PN}     += "${libdir}/tomoyo"
 FILES_${PN}-dbg += "${libdir}/tomoyo/.debug"
 
 DEPENDS = "linux-libc-headers ncurses"
-CFLAGS_append += "-D_GNU_SOURCE"
+
+EXTRA_OEMAKE = "-e USRLIBDIR=${libdir}"
 
 do_compile () {
 	oe_runmake 'CC=${CC}'
-- 
1.7.9.5




More information about the Openembedded-devel mailing list