From 227aa6c63b4acd65a5b924aa41ceccac0989b6b3 Mon Sep 17 00:00:00 2001 From: Yi Zhao Date: Fri, 21 Aug 2015 13:20:51 +0800 Subject: [PATCH] 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 --- 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 adb538b7b4..ac8593cb67 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}'