diff mbox series

[2/2] meson: Disable exe_wrapper for allarch recipes

Message ID 20260328-fix-checklayer-3-v1-2-53da29ef5c35@pbarker.dev
State Under Review
Headers show
Series Some more yocto-check-layer fixes | expand

Commit Message

Paul Barker March 28, 2026, 9:49 a.m. UTC
Arch-independent recipes should not require execution of programs
compiled for the target during the build, as there shouldn't be anything
compiled for the target.

Removing the dependency on MACHINE_FEATURES for allarch recipes which
use meson fixes several signature conflicts reported by
yocto-check-layer.

Signed-off-by: Paul Barker <paul@pbarker.dev>
---
 meta/classes-recipe/meson.bbclass | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta/classes-recipe/meson.bbclass b/meta/classes-recipe/meson.bbclass
index 2c098771fec2..9bed293603c2 100644
--- a/meta/classes-recipe/meson.bbclass
+++ b/meta/classes-recipe/meson.bbclass
@@ -9,6 +9,7 @@  inherit python3native meson-routines qemu
 DEPENDS:append = " meson-native ninja-native"
 
 EXEWRAPPER_ENABLED:class-native = "False"
+EXEWRAPPER_ENABLED:allarch = "False"
 EXEWRAPPER_ENABLED ?= "${@bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'True', 'False', d)}"
 DEPENDS:append = "${@' qemu-native' if d.getVar('EXEWRAPPER_ENABLED') == 'True' else ''}"