summaryrefslogtreecommitdiff
path: root/target/ext2/Config.in
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-01-23 10:53:06 +0000
committerEric Andersen <andersen@codepoet.org>2005-01-23 10:53:06 +0000
commit0a87bc7b58258026c51aa479774b33828dccf236 (patch)
treed3c680950932ff9fe962665b7dd8acc1babb1f04 /target/ext2/Config.in
parentceb4d070f9372e1b13273bb9a32c41c61f008a72 (diff)
Patch from gtj -- http://bugs.uclibc.org/view.php?id=39
0000039: Adds options to ext2 filesystem creation Adds ability to specify block and inode counts, reserved blocks, permissions squash and device table in the configuration. Also adds capability to gzip output and to copy the resulting image to a secondary location like a tftp server's root directory.
Diffstat (limited to 'target/ext2/Config.in')
-rw-r--r--target/ext2/Config.in47
1 files changed, 46 insertions, 1 deletions
diff --git a/target/ext2/Config.in b/target/ext2/Config.in
index 7e137ae41..891a43016 100644
--- a/target/ext2/Config.in
+++ b/target/ext2/Config.in
@@ -1,6 +1,51 @@
-config BR2_TARGET_ROOTFS_EXT2
+menuconfig BR2_TARGET_ROOTFS_EXT2
bool "ext2 root filesystem for the target device"
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"
+ 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
+
+config BR2_TARGET_ROOTFS_EXT2_DEVFILE
+ string "Location of device table file (blank for none)"
+ depends on BR2_TARGET_ROOTFS_EXT2
+ default "target/default/device_table.txt"
+
+config BR2_TARGET_ROOTFS_EXT2_OUTPUT
+ string "Output File"
+ depends on BR2_TARGET_ROOTFS_EXT2
+ default "$(IMAGE).ext2"
+
+config BR2_TARGET_ROOTFS_EXT2_GZ
+ bool "gzip the output file"
+ depends on BR2_TARGET_ROOTFS_EXT2
+ default n
+
+config BR2_TARGET_ROOTFS_EXT2_COPYTO
+ string "also copy the image to..."
+ depends on BR2_TARGET_ROOTFS_EXT2
+ default ""
+ help
+ Copies the resulting image to a secondary location
+ like a tftp server's root directory.
+
+
+