include: image.mk: make ext4 reserved blocks percentage optional
Allow CONFIG_TARGET_EXT4_RESERVED_PCT to be empty as make_ext4fs is usually able to figure out a suitable default. Signed-off-by: Jo-Philipp Wich <jo@mein.io> Reviewed-by: Michael Heimpold <mhei@heimpold.de>
This commit is contained in:
parent
168adaefc2
commit
244955de16
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ define Image/mkfs/ext4
|
||||||
$(STAGING_DIR_HOST)/bin/make_ext4fs \
|
$(STAGING_DIR_HOST)/bin/make_ext4fs \
|
||||||
-l $(E2SIZE) -b $(CONFIG_TARGET_EXT4_BLOCKSIZE) \
|
-l $(E2SIZE) -b $(CONFIG_TARGET_EXT4_BLOCKSIZE) \
|
||||||
-i $(CONFIG_TARGET_EXT4_MAXINODE) \
|
-i $(CONFIG_TARGET_EXT4_MAXINODE) \
|
||||||
-m $(CONFIG_TARGET_EXT4_RESERVED_PCT) \
|
$(if $(CONFIG_TARGET_EXT4_RESERVED_PCT),-m $(CONFIG_TARGET_EXT4_RESERVED_PCT)) \
|
||||||
$(if $(CONFIG_TARGET_EXT4_JOURNAL),,-J) \
|
$(if $(CONFIG_TARGET_EXT4_JOURNAL),,-J) \
|
||||||
$(if $(SOURCE_DATE_EPOCH),-T $(SOURCE_DATE_EPOCH)) \
|
$(if $(SOURCE_DATE_EPOCH),-T $(SOURCE_DATE_EPOCH)) \
|
||||||
$@ $(call mkfs_target_dir,$(1))/
|
$@ $(call mkfs_target_dir,$(1))/
|
||||||
|
|
Loading…
Reference in a new issue