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/ubifs/Config.in | 88 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 fs/ubifs/Config.in (limited to 'fs/ubifs/Config.in') diff --git a/fs/ubifs/Config.in b/fs/ubifs/Config.in new file mode 100644 index 000000000..9fa510e75 --- /dev/null +++ b/fs/ubifs/Config.in @@ -0,0 +1,88 @@ +config BR2_TARGET_ROOTFS_UBIFS + bool "ubifs root filesystem" + help + Build a ubifs root filesystem + +config BR2_TARGET_ROOTFS_UBIFS_LEBSIZE + hex "UBI logical erase block size" + depends on BR2_TARGET_ROOTFS_UBIFS + default 0x1f800 + +config BR2_TARGET_ROOTFS_UBIFS_MINIOSIZE + hex "UBI minimum I/O size" + depends on BR2_TARGET_ROOTFS_UBIFS + default 0x800 + help + Some comment required here + +config BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT + int "Maximum LEB count" + depends on BR2_TARGET_ROOTFS_UBIFS + default 2048 + help + Some comment required here + +choice + prompt "ubifs runtime compression" + default BR2_TARGET_ROOTFS_UBIFS_RT_LZO + depends on BR2_TARGET_ROOTFS_UBIFS + help + Select which compression format to use at run-time within + the ubifs file system. + +config BR2_TARGET_ROOTFS_UBIFS_RT_NONE + bool "no compression" + help + Don't use run-time compression. + +config BR2_TARGET_ROOTFS_UBIFS_RT_ZLIB + bool "gzip" + help + Use zlib compression at run-time. + +config BR2_TARGET_ROOTFS_UBIFS_RT_LZO + bool "lzo" + help + Use lzo compression at run-time. + +endchoice + +choice + prompt "Compression method" + default BR2_TARGET_ROOTFS_UBIFS_NONE + depends on BR2_TARGET_ROOTFS_UBIFS + help + Select which compression format to compress the final image + into. + +config BR2_TARGET_ROOTFS_UBIFS_NONE + bool "no compression" + help + Do not compress the ubifs filesystem. + +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 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/ubifs/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