]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
qemu-native: Use inherit_defer for including native class
authorKhem Raj <raj.khem@gmail.com>
Tue, 30 Jan 2024 16:23:13 +0000 (08:23 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 5 Feb 2024 14:03:18 +0000 (14:03 +0000)
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 <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/qemu/qemu-native.inc

index d9acc613f95036dba77c3e288a0f5e6c09d401c2..891dc5e2a10e429e27af21f73d4a83658f0651da 100644 (file)
@@ -1,6 +1,6 @@
 require qemu.inc
 
-inherit native
+inherit_defer native
 
 EXTRA_OEMAKE:append = " LD='${LD}' AR='${AR}' OBJCOPY='${OBJCOPY}' LDFLAGS='${LDFLAGS}'"