diff options
author | Luka Perkov <luka@openwrt.org> | 2013-10-04 10:49:47 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2013-10-04 10:49:47 +0000 |
commit | 9051e79bc23a94c16adb957f773852945c9b3337 (patch) | |
tree | 8fa71c00050ea9b0b63172ba7d2d0af300158af5 /include/image.mk | |
parent | 8b7b7cabf211e75b81f5cab3b1024342ec1c962c (diff) | |
download | mtk-20170518-9051e79bc23a94c16adb957f773852945c9b3337.zip mtk-20170518-9051e79bc23a94c16adb957f773852945c9b3337.tar.gz mtk-20170518-9051e79bc23a94c16adb957f773852945c9b3337.tar.bz2 |
build: extend menu with few ubifs options
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38303
Diffstat (limited to 'include/image.mk')
-rw-r--r-- | include/image.mk | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/image.mk b/include/image.mk index 5d512df..e0731f0 100644 --- a/include/image.mk +++ b/include/image.mk @@ -116,7 +116,15 @@ endif ifneq ($(CONFIG_TARGET_ROOTFS_UBIFS),) define Image/mkfs/ubifs $(CP) ./ubinize.cfg $(KDIR) - $(STAGING_DIR_HOST)/bin/mkfs.ubifs $(UBIFS_OPTS) $(MKFS_DEVTABLE_OPT) -o $(KDIR)/root.ubifs -d $(TARGET_DIR) + $(STAGING_DIR_HOST)/bin/mkfs.ubifs \ + $(UBIFS_OPTS) \ + $(if $(CONFIG_TARGET_UBIFS_FREE_SPACE_FIXUP),--space-fixup) \ + $(if $(CONFIG_TARGET_UBIFS_COMPRESSION_NONE),--force-compr=none) \ + $(if $(CONFIG_TARGET_UBIFS_COMPRESSION_LZO),--force-compr=lzo) \ + $(if $(CONFIG_TARGET_UBIFS_COMPRESSION_ZLIB),--force-compr=zlib) \ + --jrn-size=$(CONFIG_TARGET_UBIFS_JOURNAL_SIZE) \ + -o $(KDIR)/root.ubifs \ + -d $(TARGET_DIR) $(call Image/Build,ubifs) (cd $(KDIR); \ $(STAGING_DIR_HOST)/bin/ubinize $(UBINIZE_OPTS) -o $(KDIR)/root.ubi ubinize.cfg) |