[oe-commits] Yi Zhao : tomoyo-tools: pass correct libdir to make
git at git.openembedded.org
git at git.openembedded.org
Mon Aug 31 17:43:55 UTC 2015
Module: meta-openembedded.git
Branch: master
Commit: 227aa6c63b4acd65a5b924aa41ceccac0989b6b3
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=227aa6c63b4acd65a5b924aa41ceccac0989b6b3
Author: Yi Zhao <yi.zhao at windriver.com>
Date: Fri Aug 21 13:20:51 2015 +0800
tomoyo-tools: pass correct libdir to make
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>
---
meta-oe/recipes-support/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}'
More information about the Openembedded-commits
mailing list