]> code.ossystems Code Review - openembedded-core.git/commit
qemuwrapper-cross: enable multilib and nativesdk variants of the script
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>
Mon, 11 Jun 2018 13:38:20 +0000 (16:38 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 Jun 2018 09:59:33 +0000 (10:59 +0100)
commitd10fd6ae3fe46290c6e3a5250878966d9f12ca3f
tree61168f7d00c0532856c5152175ed5903aade9571
parentf3247720dc4b1c49e8fad734e20b17ba55843b97
qemuwrapper-cross: enable multilib and nativesdk variants of the script

Previously only one global variant of the script was created,
which caused numerous issues:

1) multilib was not properly supported due to multilib variants each
needing their own version of the qemu binary and library paths to be set
2) nativesdk was not properly supported for the same reason

This patch also moves setting LD_LIBRARY_PATH directly into the
recipe, as passing it down from other recipes did not work when
said recipes were allarch, and adjusts calls to qemuwrapper from
postinst-intercepts, so that its correct variant is selected.

Also, the various qemu fallbacks in qemuwrapper script are all removed,
as they are no longer necessary.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/fontcache.bbclass
meta/classes/pixbufcache.bbclass
meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb
scripts/postinst-intercepts/update_font_cache
scripts/postinst-intercepts/update_gio_module_cache
scripts/postinst-intercepts/update_gtk_immodules_cache
scripts/postinst-intercepts/update_pixbuf_cache