build: set default squashfs block size to 64k for low-memory systems
[openwrt/staging/mkresin.git] / config / Config-images.in
index b2d7543d021e18a7e3cde43a4867794c9b709c59..fdef3db27e2878b712ba100e219b4dc60d480efc 100644 (file)
@@ -137,12 +137,18 @@ 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 64 if LOW_MEMORY_FOOTPRINT
+                       default 256
+
        menuconfig TARGET_ROOTFS_UBIFS
                bool "ubifs"
                default y if USES_UBIFS