]> code.ossystems Code Review - openembedded-core.git/commit
waf.bbclass: explicitly pass bindir and libdir if supported
authorStefan Agner <stefan.agner@toradex.com>
Tue, 12 Dec 2017 16:13:24 +0000 (17:13 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 6 Jan 2018 10:11:42 +0000 (10:11 +0000)
commiteac21f981337bfaddb2d67161a1ff049158041ce
treef89ffdf66f93c7112ea04dbcc6c09bf56fef0f9b
parent6476d2c0ede654dca51a81045a8ccbca532c317d
waf.bbclass: explicitly pass bindir and libdir if supported

On some build hosts distros (e.g. Fedora 26) waf tries to be
smart about libdir detection and defaults to [EXEC_PREFIX/lib64].
This obviously is not what we want for 32-bit targets and usually
fails in the do_package phase:
  WARNING: gstreamer1.0-plugins-imx-0.13.0-r0 do_package: QA Issue: gstreamer1.0-plugins-imx: Files/directories were installed but not shipped in any package:
    /usr/lib64/libgstimxcommon.so.0
    ...

Depending on version, waf knows prefix or prefix, bindir and
libdir as default options. Explicitly pass the right set of
arguments.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 923f91d8d8606141ce218927bc943f4f4f34bcdd)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/classes/waf.bbclass