python-werkzeug: bump to version 0.11.15
[buildroot-gz.git] / fs / ubifs / ubifs.mk
blobf1e4126e86fc8b7a7340d77d8d86f4b3fa07cdc6
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)
10 UBIFS_OPTS += -x zlib
11 endif
12 ifeq ($(BR2_TARGET_ROOTFS_UBIFS_RT_LZO),y)
13 UBIFS_OPTS += -x lzo
14 endif
15 ifeq ($(BR2_TARGET_ROOTFS_UBIFS_RT_NONE),y)
16 UBIFS_OPTS += -x none
17 endif
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 $@
25 endef
27 $(eval $(call ROOTFS_TARGET,ubifs))