diff mbox series

[2/2] arm-bsp/classes: Use :append to add to IMAGE_TYPES in wic_nopt

Message ID 20230216153340.1211690-2-peter.hoyes@arm.com
State New
Headers show
Series [1/2] arm,arm-bsp/classes: Move wic_nopt to meta-arm | expand

Commit Message

Peter Hoyes Feb. 16, 2023, 3:33 p.m. UTC
From: Peter Hoyes <Peter.Hoyes@arm.com>

IMAGE_TYPES += "wic.nopt" is effective if the bbclass is included
using IMAGE_CLASSES, but not if included directly (using inherit) due to
file parse ordering.

To support applying wic_nopt locally (i.e. for certain image recipes but
not others), change to use :append.

Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
 meta-arm/classes/wic_nopt.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series


diff --git a/meta-arm/classes/wic_nopt.bbclass b/meta-arm/classes/wic_nopt.bbclass
index 322be498..9c78fd77 100644
--- a/meta-arm/classes/wic_nopt.bbclass
+++ b/meta-arm/classes/wic_nopt.bbclass
@@ -1,7 +1,7 @@ 
 # This class removes the empty partition table header
 # in the WIC file when --no-table WKS option is used
-IMAGE_TYPES += "wic.nopt"
+IMAGE_TYPES:append = " wic.nopt"