aboutsummaryrefslogtreecommitdiff
path: root/Config.in.legacy
diff options
context:
space:
mode:
authorGravatar Samuel Martin <s.martin49@gmail.com>2017-07-09 07:00:38 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-09 15:35:30 +0200
commitbee9e881a2d3addd6880b39f3e33a7180d0b1eb4 (patch)
tree1964d27772b0cbc22efdff1d7d01a3d0505fa78e /Config.in.legacy
parent0dcf75eb7dfc545ddf47a156b76bedb2a2d86526 (diff)
downloadbuildroot-bee9e881a2d3addd6880b39f3e33a7180d0b1eb4.tar.gz
buildroot-bee9e881a2d3addd6880b39f3e33a7180d0b1eb4.tar.bz2
fs/ext2: rename BR2_TARGET_ROOTFS_EXT2_BLOCKS to BR2_TARGET_ROOTFS_EXT2_SIZE
This change deprecates the ext2/3/4 rootfs size in blocks symbol in favor of one that mimic the fs-size argument behavior of mkfs (i.e. size in a human readable format accepting k, m, g or t suffix or their upper-case variants). This change also updates the defconfigs that used to set BR2_TARGET_ROOTFS_EXT2_BLOCKS symbol. Signed-off-by: Samuel Martin <s.martin49@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'Config.in.legacy')
-rw-r--r--Config.in.legacy17
1 files changed, 17 insertions, 0 deletions
diff --git a/Config.in.legacy b/Config.in.legacy
index 12362da6f2..805d5a46cb 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -152,6 +152,23 @@ config BR2_PACKAGE_HOST_MKE2IMG
We now call mkfs directly to generate ext2/3/4 filesystem
image, so mke2img is no longer necessary.
+config BR2_TARGET_ROOTFS_EXT2_BLOCKS
+ int "exact size in blocks has been removed"
+ default 0
+ help
+ This option has been removed in favor of
+ BR2_TARGET_ROOTFS_EXT2_SIZE. It has been set automatically
+ to the value you had before. Set to 0 here to remove the
+ warning.
+
+config BR2_TARGET_ROOTFS_EXT2_BLOCKS_WRAP
+ bool
+ default y if BR2_TARGET_ROOTFS_EXT2_BLOCKS != 0 && \
+ BR2_TARGET_ROOTFS_EXT2_BLOCKS != 61440 # deprecated default value
+ select BR2_LEGACY
+
+# Note: BR2_TARGET_ROOTFS_EXT2_BLOCKS_WRAP still referenced in fs/ext2/Config.in
+
config BR2_TARGET_ROOTFS_EXT2_EXTRA_INODES
int "ext2 extra inodes has been removed" if BR2_TARGET_ROOTFS_EXT2_INODES = 0
default 0