Skip to contentSkip to conversation

qemu-native: Use inherit_defer for including native class

PATCH New Khem Raj 1 participant 1 message Jan 30, 2024

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 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:

---
 meta/recipes-devtools/qemu/qemu-native.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/qemu/qemu-native.inc +1 -1
index d9acc613f95..891dc5e2a10 100644
@@ -1,6 +1,6 @@
 require qemu.inc
 
-inherit native
+inherit_defer native
 
 EXTRA_OEMAKE:append = " LD='${LD}' AR='${AR}' OBJCOPY='${OBJCOPY}' LDFLAGS='${LDFLAGS}'"
 
Signature · 1 line
2.43.0