From 0585241505cfaddc9db6ae92739bdfb5ce5f9794 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Wed, 10 Mar 2010 22:30:06 +0100 Subject: Move all filesystem generation code to fs/ Signed-off-by: Thomas Petazzoni --- fs/ext2/Config.in | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 fs/ext2/Config.in (limited to 'fs/ext2/Config.in') diff --git a/fs/ext2/Config.in b/fs/ext2/Config.in new file mode 100644 index 000000000..02ec18f40 --- /dev/null +++ b/fs/ext2/Config.in @@ -0,0 +1,61 @@ +config BR2_TARGET_ROOTFS_EXT2 + bool "ext2 root filesystem" + default y + help + Build an ext2 root filesystem + +config BR2_TARGET_ROOTFS_EXT2_BLOCKS + int "size in blocks (leave at 0 for auto calculation)" + depends on BR2_TARGET_ROOTFS_EXT2 + default 0 + +config BR2_TARGET_ROOTFS_EXT2_INODES + int "inodes (leave at 0 for auto calculation)" + depends on BR2_TARGET_ROOTFS_EXT2 + default 0 + +config BR2_TARGET_ROOTFS_EXT2_RESBLKS + int "reserved blocks percentage" + depends on BR2_TARGET_ROOTFS_EXT2 + default 0 + +config BR2_TARGET_ROOTFS_EXT2_SQUASH + bool "Make all files be owned by root" + depends on BR2_TARGET_ROOTFS_EXT2 + default y + +choice + prompt "Compression method" + default BR2_TARGET_ROOTFS_EXT2_NONE + depends on BR2_TARGET_ROOTFS_EXT2 + help + Select compressor for ext2 filesystem of the root filesystem + +config BR2_TARGET_ROOTFS_EXT2_NONE + bool "no compression" + help + Do not compress the ext2 filesystem. + +config BR2_TARGET_ROOTFS_EXT2_GZIP + bool "gzip" + help + Do compress the ext2 filesystem with gzip. + Note that you either have to have gzip installed on your host + or select to build a gzip for your host. See the packages submenu. + +config BR2_TARGET_ROOTFS_EXT2_BZIP2 + bool "bzip2" + help + Do compress the ext2 filesystem with bzip2. + Note that you either have to have bzip2 installed on your host + or select to build a bzip2 for your host. See the packages submenu. + +config BR2_TARGET_ROOTFS_EXT2_LZMA + bool "lzma" + help + Do compress the ext2 filesystem with lzma. + Note that you either have to have lzma installed on your host + or select to build a lzma for your host. See the packages submenu. + +endchoice + -- cgit v1.2.3 From 0b79c5022d32b15180a18087a0fba5a2f1af5cc7 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Wed, 10 Mar 2010 23:05:14 +0100 Subject: fs/*/Config.in: remove useless configuration comments The dependency on gzip, bzip2 and lzma are properly handled automatically. No need to tell the user about this. Signed-off-by: Thomas Petazzoni --- fs/cpio/Config.in | 6 ------ fs/ext2/Config.in | 6 ------ fs/tar/Config.in | 6 ------ fs/ubifs/Config.in | 9 --------- 4 files changed, 27 deletions(-) (limited to 'fs/ext2/Config.in') diff --git a/fs/cpio/Config.in b/fs/cpio/Config.in index 02fd00d34..374cfe0cd 100644 --- a/fs/cpio/Config.in +++ b/fs/cpio/Config.in @@ -19,22 +19,16 @@ config BR2_TARGET_ROOTFS_CPIO_GZIP bool "gzip" help Do compress the cpio filesystem with gzip. - Note that you either have to have gzip installed on your host - or select to build a gzip for your host. See the packages submenu. config BR2_TARGET_ROOTFS_CPIO_BZIP2 bool "bzip2" help Do compress the cpio filesystem with bzip2. - Note that you either have to have bzip2 installed on your host - or select to build a bzip2 for your host. See the packages submenu. config BR2_TARGET_ROOTFS_CPIO_LZMA bool "lzma" help Do compress the cpio filesystem with lzma. - Note that you either have to have lzma installed on your host - or select to build a lzma for your host. See the packages submenu. endchoice diff --git a/fs/ext2/Config.in b/fs/ext2/Config.in index 02ec18f40..5c041d95d 100644 --- a/fs/ext2/Config.in +++ b/fs/ext2/Config.in @@ -40,22 +40,16 @@ config BR2_TARGET_ROOTFS_EXT2_GZIP bool "gzip" help Do compress the ext2 filesystem with gzip. - Note that you either have to have gzip installed on your host - or select to build a gzip for your host. See the packages submenu. config BR2_TARGET_ROOTFS_EXT2_BZIP2 bool "bzip2" help Do compress the ext2 filesystem with bzip2. - Note that you either have to have bzip2 installed on your host - or select to build a bzip2 for your host. See the packages submenu. config BR2_TARGET_ROOTFS_EXT2_LZMA bool "lzma" help Do compress the ext2 filesystem with lzma. - Note that you either have to have lzma installed on your host - or select to build a lzma for your host. See the packages submenu. endchoice diff --git a/fs/tar/Config.in b/fs/tar/Config.in index 0adca795f..5aaf9bd55 100644 --- a/fs/tar/Config.in +++ b/fs/tar/Config.in @@ -19,22 +19,16 @@ config BR2_TARGET_ROOTFS_TAR_GZIP bool "gzip" help Do compress the tarball with gzip. - Note that you either have to have gzip installed on your host - or select to build a gzip for your host. See the packages submenu. config BR2_TARGET_ROOTFS_TAR_BZIP2 bool "bzip2" help Do compress the tarball with bzip2. - Note that you either have to have bzip2 installed on your host - or select to build a bzip2 for your host. See the packages submenu. config BR2_TARGET_ROOTFS_TAR_LZMA bool "lzma" help Do compress the tarball with lzma. - Note that you either have to have lzma installed on your host - or select to build a lzma for your host. See the packages submenu. endchoice diff --git a/fs/ubifs/Config.in b/fs/ubifs/Config.in index 9fa510e75..bcf409cad 100644 --- a/fs/ubifs/Config.in +++ b/fs/ubifs/Config.in @@ -64,25 +64,16 @@ config BR2_TARGET_ROOTFS_UBIFS_GZIP bool "gzip" help Do compress the ubifs filesystem with gzip. - Note that you either have to have gzip installed on your - host or select to build a gzip for your host. See the - packages submenu. config BR2_TARGET_ROOTFS_UBIFS_BZIP2 bool "bzip2" help Do compress the ubifs filesystem with bzip2. - Note that you either have to have bzip2 installed on your - host or select to build a bzip2 for your host. See the - packages submenu. config BR2_TARGET_ROOTFS_UBIFS_LZMA bool "lzma" help Do compress the ubifs filesystem with lzma. - Note that you either have to have lzma installed on your - host or select to build a lzma for your host. See the - packages submenu. endchoice -- cgit v1.2.3