creating sdcard image with ext4 rootfs only and ignoring creating
other filesystem in sdcard image.
Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
define Device/Default
$(Device/default-nand)
PROFILES := Default
- FILESYSTEMS := squashfs ubifs
+ FILESYSTEMS := squashfs ubifs ext4
DEVICE_DTS := $(1)
KERNEL_NAME := zImage
KERNEL_SIZE := 4096k
$$(($(AT91_SD_BOOT_PARTSIZE)*1024*1024/$(FAT32_BLOCK_SIZE))))
define Build/at91-sdcard
+ $(if $(findstring ext4,$@), \
rm -f $@.boot
mkfs.fat -C $@.boot $(FAT32_BLOCKS)
gzip -nc9 $@.img > $@
- rm -f $@.img $@.boot
+ rm -f $@.img $@.boot )
endef
define Device/evaluation-sdimage