From 3558ee528f50603a07a522d866d4e95e3e929e48 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 30 Jan 2024 08:23:13 -0800 Subject: [PATCH] qemu-native: Use inherit_defer for including native class This helps working with native qemu recipes with devtool, since devtool inserts an internal class called devtool-source resulting in ERROR: QA Issue: qemu-system-native: native/nativesdk class is not inherited last, this can result in unexpected behaviour. Classes i nherited after native/nativesdk: devtool-source.bbclass [native-last] ERROR: Fatal QA errors were found, failing task. ERROR: Parsing halted due to errors, see error messages above ERROR: Command execution failed: (From OE-Core rev: 6754387d7bd397700cef029ae6df86ff8cb3a4af) Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-devtools/qemu/qemu-native.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/qemu/qemu-native.inc b/meta/recipes-devtools/qemu/qemu-native.inc index d9acc613f9..891dc5e2a1 100644 --- a/meta/recipes-devtools/qemu/qemu-native.inc +++ b/meta/recipes-devtools/qemu/qemu-native.inc @@ -1,6 +1,6 @@ require qemu.inc -inherit native +inherit_defer native EXTRA_OEMAKE:append = " LD='${LD}' AR='${AR}' OBJCOPY='${OBJCOPY}' LDFLAGS='${LDFLAGS}'"