meta-digi: build jffs2 images only with kernel 2.6.35

At the moment our kernel 3.10 on ccardimx28js does not support jffs2
images, so do not build them.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2013-10-15 17:50:49 +02:00
parent 8a93cf981c
commit 2618ae353d
1 changed files with 3 additions and 1 deletions

View File

@ -20,7 +20,9 @@ EXTRA_IMAGEDEPENDS = "u-boot"
# At the moment it's failing due to wrong u-boot image
# SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3"
# IMAGE_FSTYPES ?= "ext3 sdcard sum.jffs2 tar.bz2 ubifs"
IMAGE_FSTYPES ?= "sum.jffs2 tar.bz2 ubifs"
#
# JFFS2 is not supported by kernel 3.10, so add it only for 2.6.35
IMAGE_FSTYPES ?= "${@base_conditional('IS_KERNEL_2X', '1' , 'sum.jffs2', '', d)} tar.bz2 ubifs"
KERNEL_IMAGETYPE = "uImage"