build: make the squashfs block size configurable
[openwrt/svn-archive/archive.git] / config / Config-images.in
index daed0f539053943b9c6c9fe7a1dbb1fd4bf5d194..f4bb2ce2cbbb3f4d059e954a031227e2e2b681cc 100644 (file)
@@ -87,9 +87,9 @@ menu "Target Images"
                          Allows you to change the percentage of reserved blocks in the root filesystem
 
                choice
-                       prompt "Root filesystem block size""
+                       prompt "Root filesystem block size"
                        default TARGET_EXT4_BLOCKSIZE_4K
-                       depends TARGET_ROOTFS_EXT4FS
+                       depends on TARGET_ROOTFS_EXT4FS
                        help
                          Allows you to change the block size of the root filesystem
 
@@ -108,7 +108,7 @@ menu "Target Images"
                        default 4096 if TARGET_EXT4_BLOCKSIZE_4K
                        default 2048 if TARGET_EXT4_BLOCKSIZE_2K
                        default 1024 if TARGET_EXT4_BLOCKSIZE_1K
-                       depends TARGET_ROOTFS_EXT4FS
+                       depends on TARGET_ROOTFS_EXT4FS
 
                config TARGET_EXT4_JOURNAL
                        bool "Create a journaling filesystem"
@@ -137,12 +137,17 @@ menu "Target Images"
                help
                  Build a jffs2 root filesystem for NAND flash
 
-       config TARGET_ROOTFS_SQUASHFS
+       menuconfig TARGET_ROOTFS_SQUASHFS
                bool "squashfs"
                default y if USES_SQUASHFS
                help
                  Build a squashfs-lzma root filesystem
 
+               config TARGET_SQUASHFS_BLOCK_SIZE
+                       int "Block size (in KiB)"
+                       depends on TARGET_ROOTFS_SQUASHFS
+                       default 256
+
        menuconfig TARGET_ROOTFS_UBIFS
                bool "ubifs"
                default y if USES_UBIFS