summaryrefslogtreecommitdiff
path: root/kconfig
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-08-10 23:22:11 +0200
committerAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-08-10 23:22:11 +0200
commit41f9bb9b7c0d6414b67e935069076b85ad1d5e15 (patch)
tree84d569bc5487fc6a7885b4a8b073d7d78bd02d6b /kconfig
parent990849c74997332b825a9ad565768e921b813bac (diff)
downloadembtoolkit-41f9bb9b7c0d6414b67e935069076b85ad1d5e15.tar.gz
embtoolkit-41f9bb9b7c0d6414b67e935069076b85ad1d5e15.tar.bz2
embtoolkit-41f9bb9b7c0d6414b67e935069076b85ad1d5e15.tar.xz
Rootfs: give ability to build cpio archive for initramfs
Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
Diffstat (limited to 'kconfig')
-rw-r--r--kconfig/fs.kconfig20
1 files changed, 19 insertions, 1 deletions
diff --git a/kconfig/fs.kconfig b/kconfig/fs.kconfig
index 9ce3741..9add022 100644
--- a/kconfig/fs.kconfig
+++ b/kconfig/fs.kconfig
@@ -31,7 +31,6 @@ config EMBTK_ROOTFS_HAVE_JFFS2
bool "Build a JFFS2 root filesystem image"
help
Build a JFFS2 root filesystem image for your target
-
config EMBTK_ROOTFS_HAVE_JFFS2_BLOCKSIZE
depends on EMBTK_ROOTFS_HAVE_JFFS2
help
@@ -39,4 +38,23 @@ config EMBTK_ROOTFS_HAVE_JFFS2_BLOCKSIZE
int "Erase block size to use in KB"
default 512
+#INITRAMFS cpio archive
+config EMBTK_ROOTFS_HAVE_INITRAMFS_CPIO
+ bool "Build cpio archive for initramfs"
+ help
+ Build a cpio archive, in order to use it later as source file for
+ initramfs in the linux kernel.
+choice
+ depends on EMBTK_ROOTFS_HAVE_INITRAMFS_CPIO
+ prompt "Compression program to use"
+ config EMBTK_ROOTFS_HAVE_INITRAMFS_CPIO_GZIPED
+ bool "gzip"
+ help
+ Use gzip compression algorithm.
+ config EMBTK_ROOTFS_HAVE_INITRAMFS_CPIO_BZIPED
+ bool "bzip2"
+ help
+ Use bzip2 compression algorithm.
+endchoice
+
endmenu