From: Khem Raj Date: Tue, 30 Jan 2024 16:23:13 +0000 (-0800) Subject: qemu-native: Use inherit_defer for including native class X-Git-Tag: uninative-4.4~247 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6754387d7bd397700cef029ae6df86ff8cb3a4af;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git 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: Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/qemu/qemu-native.inc b/meta/recipes-devtools/qemu/qemu-native.inc index d9acc613f95..891dc5e2a10 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}'"