diff options
author | Luka Perkov <luka@openwrt.org> | 2013-11-14 01:35:21 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2013-11-14 01:35:21 +0000 |
commit | b4ecda7b3fd6ac7a92a03e8ec83c45fb17f8f125 (patch) | |
tree | 15bc2c1b248a34f0fd9579d1be72791c5bc36f14 /include/image.mk | |
parent | c43d2285e0a99c91d9e376213b39ff8d10ea813d (diff) | |
download | mtk-20170518-b4ecda7b3fd6ac7a92a03e8ec83c45fb17f8f125.zip mtk-20170518-b4ecda7b3fd6ac7a92a03e8ec83c45fb17f8f125.tar.gz mtk-20170518-b4ecda7b3fd6ac7a92a03e8ec83c45fb17f8f125.tar.bz2 |
image: don't force ubifs journal size
Small journal size can lead to problems if nand flash is too big. By default
ubifs will use ~12% of volume size or a maximum of 8MiB.
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38799
Diffstat (limited to 'include/image.mk')
-rw-r--r-- | include/image.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/image.mk b/include/image.mk index 71822de..aa56595 100644 --- a/include/image.mk +++ b/include/image.mk @@ -142,7 +142,7 @@ ifneq ($(CONFIG_TARGET_ROOTFS_UBIFS),) $(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) \ + $(if $(shell echo $(CONFIG_TARGET_UBIFS_JOURNAL_SIZE)),--jrn-size=$(CONFIG_TARGET_UBIFS_JOURNAL_SIZE)) \ --squash-uids \ -o $(KDIR)/root.ubifs \ -d $(TARGET_DIR) |