| ############################################################# |
| # Build the ubifs root filesystem image |
| ############################################################# |
| UBIFS_OPTS := -e $(BR2_TARGET_ROOTFS_UBIFS_LEBSIZE) -c $(BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT) -m $(BR2_TARGET_ROOTFS_UBIFS_MINIOSIZE) |
| ifeq ($(BR2_TARGET_ROOTFS_UBIFS_RT_ZLIB),y) |
| ifeq ($(BR2_TARGET_ROOTFS_UBIFS_RT_LZO),y) |
| ifeq ($(BR2_TARGET_ROOTFS_UBIFS_RT_NONE),y) |
| ROOTFS_UBIFS_DEPENDENCIES = host-mtd |
| $(HOST_DIR)/usr/sbin/mkfs.ubifs -d $(TARGET_DIR) $(UBIFS_OPTS) -o $$@ |
| $(eval $(call ROOTFS_TARGET,ubifs)) |