]> code.ossystems Code Review - openembedded-core.git/commit
meson: configure and use generic exe_wrapper
authorAlexander Kanavin <alex.kanavin@gmail.com>
Sat, 4 Dec 2021 07:13:00 +0000 (08:13 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 6 Dec 2021 11:09:47 +0000 (11:09 +0000)
commit17fb047282a413aae5af991ecf5bbb225e19581e
treeb125c3dcbe3eeedc18f369fc08b0bd48d8545542
parentb9bc216c8d25ad3696c858bf12ebe893b8fe0edd
meson: configure and use generic exe_wrapper

This replaces the specific gtkdoc wrapper setting
(which was rejected by upstream in https://github.com/mesonbuild/meson/pull/9627)
with a generic, officially supported and documented exe_wrapper,
which is enabled subject to qemu usermode support
(just as is done for g-i and gtk-doc with autotools).

gtk-doc support is adjusted so that this wrapper is passed to
meson's gtk-doc module, which passes it to gtk-doc.

The adjusted patch is re-submitted upstream.

The side effect of this is that meson is now able to run
target binaries in a generic way when it wants to, so this
may affect cross-builds - hopefully in a positive way.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/meson.bbclass
meta/recipes-devtools/meson/meson/0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch