fs/ext2: enclose the ext2 options in if...endif
Use a 'if...endif' construct instead of repeating the 'depends on' for each symbols. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: Arnout Vandecappelle <arnout@mind.be> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
39ce56afde
commit
5fbef61480
|
@ -3,25 +3,23 @@ config BR2_TARGET_ROOTFS_EXT2
|
||||||
help
|
help
|
||||||
Build an ext2 root filesystem
|
Build an ext2 root filesystem
|
||||||
|
|
||||||
|
if BR2_TARGET_ROOTFS_EXT2
|
||||||
|
|
||||||
config BR2_TARGET_ROOTFS_EXT2_BLOCKS
|
config BR2_TARGET_ROOTFS_EXT2_BLOCKS
|
||||||
int "size in blocks (leave at 0 for auto calculation)"
|
int "size in blocks (leave at 0 for auto calculation)"
|
||||||
depends on BR2_TARGET_ROOTFS_EXT2
|
|
||||||
default 0
|
default 0
|
||||||
|
|
||||||
config BR2_TARGET_ROOTFS_EXT2_INODES
|
config BR2_TARGET_ROOTFS_EXT2_INODES
|
||||||
int "inodes (leave at 0 for auto calculation)"
|
int "inodes (leave at 0 for auto calculation)"
|
||||||
depends on BR2_TARGET_ROOTFS_EXT2
|
|
||||||
default 0
|
default 0
|
||||||
|
|
||||||
config BR2_TARGET_ROOTFS_EXT2_RESBLKS
|
config BR2_TARGET_ROOTFS_EXT2_RESBLKS
|
||||||
int "reserved blocks percentage"
|
int "reserved blocks percentage"
|
||||||
depends on BR2_TARGET_ROOTFS_EXT2
|
|
||||||
default 0
|
default 0
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Compression method"
|
prompt "Compression method"
|
||||||
default BR2_TARGET_ROOTFS_EXT2_NONE
|
default BR2_TARGET_ROOTFS_EXT2_NONE
|
||||||
depends on BR2_TARGET_ROOTFS_EXT2
|
|
||||||
help
|
help
|
||||||
Select compressor for ext2 filesystem of the root filesystem
|
Select compressor for ext2 filesystem of the root filesystem
|
||||||
|
|
||||||
|
@ -47,3 +45,4 @@ config BR2_TARGET_ROOTFS_EXT2_LZMA
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
endif # BR2_TARGET_ROOTFS_EXT2
|
||||||
|
|
Loading…
Reference in New Issue
Block a user