[meta-freescale] [PATCH] mfgtool-initramfs-image.bbclass: do not overwrite IMAGE_CLASSES
Mirza Krak
mirza.krak at gmail.com
Fri Jan 13 15:28:35 PST 2017
From: Mirza Krak <mirza.krak at gmail.com>
Use the += operator instead to add image_types_uboot to IMAGE_CLASSES
which will correctly append that image type.
Signed-off-by: Mirza Krak <mirza.krak at gmail.com>
---
Based on mailing list discussion:
https://lists.yoctoproject.org/pipermail/meta-freescale/2017-January/019949.html
classes/mfgtool-initramfs-image.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/classes/mfgtool-initramfs-image.bbclass b/classes/mfgtool-initramfs-image.bbclass
index 42792f6..afe5124 100644
--- a/classes/mfgtool-initramfs-image.bbclass
+++ b/classes/mfgtool-initramfs-image.bbclass
@@ -15,7 +15,7 @@ FEATURE_PACKAGES_f2fs = "packagegroup-fsl-mfgtool-f2fs"
IMAGE_FSTYPES = "cpio.gz.u-boot"
IMAGE_FSTYPES_mxs = "cpio.gz.u-boot"
IMAGE_ROOTFS_SIZE ?= "8192"
-IMAGE_CLASSES = "image_types_uboot"
+IMAGE_CLASSES += "image_types_uboot"
# Filesystems enabled by default
DEFAULT_FS_SUPPORT = " \
--
2.1.4
More information about the meta-freescale
mailing list