1 ################################################################################
3 # Build the ubifs root filesystem image
5 ################################################################################
7 UBIFS_OPTS
:= -e
$(BR2_TARGET_ROOTFS_UBIFS_LEBSIZE
) -c
$(BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT
) -m
$(BR2_TARGET_ROOTFS_UBIFS_MINIOSIZE
)
9 ifeq ($(BR2_TARGET_ROOTFS_UBIFS_RT_ZLIB
),y
)
12 ifeq ($(BR2_TARGET_ROOTFS_UBIFS_RT_LZO
),y
)
15 ifeq ($(BR2_TARGET_ROOTFS_UBIFS_RT_NONE
),y
)
19 UBIFS_OPTS
+= $(call qstrip
,$(BR2_TARGET_ROOTFS_UBIFS_OPTS
))
21 ROOTFS_UBIFS_DEPENDENCIES
= host-mtd
23 define ROOTFS_UBIFS_CMD
24 $(HOST_DIR
)/usr
/sbin
/mkfs.ubifs
-d
$(TARGET_DIR
) $(UBIFS_OPTS
) -o
$@
27 $(eval
$(call ROOTFS_TARGET
,ubifs
))