The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / fs / ubifs / ubifs.mk
1 ################################################################################
2 #
3 # Build the ubifs root filesystem image
4 #
5 ################################################################################
6
7 UBIFS_OPTS := -e $(BR2_TARGET_ROOTFS_UBIFS_LEBSIZE) -c $(BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT) -m $(BR2_TARGET_ROOTFS_UBIFS_MINIOSIZE)
8
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
18
19 UBIFS_OPTS += $(call qstrip,$(BR2_TARGET_ROOTFS_UBIFS_OPTS))
20
21 ROOTFS_UBIFS_DEPENDENCIES = host-mtd
22
23 define ROOTFS_UBIFS_CMD
24         $(HOST_DIR)/usr/sbin/mkfs.ubifs -d $(TARGET_DIR) $(UBIFS_OPTS) -o $@
25 endef
26
27 $(eval $(call ROOTFS_TARGET,ubifs))