Skip to contentSkip to conversation

kernel-fit-image: Exclude from world

PATCH New Richard Purdie 1 participant 1 message Jun 4, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel-fit-image: Exclude from world

Recipes using this class are designed to be pulled in by dependencies and the recipe doesn't build unless the kernel is appropriately configured. Mark as not suitable for world builds as a result to avoid world build failures.

---
 meta/classes-recipe/kernel-fit-image.bbclass | 3 +++
 1 file changed, 3 insertions(+)
meta/classes-recipe/kernel-fit-image.bbclass +3 -0
index 6d80cd4bb47..d2eebb88bc2 100644
@@ -7,6 +7,9 @@ UNPACKDIR = "${S}"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
+# This bbclass requires KERNEL_CLASSES += "kernel-fit-extra-artifacts"
+EXCLUDE_FROM_WORLD = "1"
+
 DEPENDS += "\
     u-boot-tools-native dtc-native \
     ${@'kernel-signing-keys-native' if d.getVar('FIT_GENERATE_KEYS') == '1' else ''} \