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@windriver.com>
This commit is contained in:
Yi Zhao 2015-08-21 13:20:51 +08:00 committed by Martin Jansa
parent 51060f88e7
commit 227aa6c63b

View File

@ -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}'