build: make the squashfs block size configurable
[openwrt.git] / config / Config-images.in
index b2d7543..f4bb2ce 100644 (file)
@@ -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