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

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>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Peter Hoyes authored and Jon Mason committed 2023-02-16 12:51:33 -05:00
1 parent 557e89242e
commit 7fee7ee600
1 file changed
+1 -1
+1 -1
View File
@@ -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"
CONVERSIONTYPES += "nopt"