config/Config-images.in: enable zlib as the default ubi compression
[openwrt/openwrt.git] / config / Config-images.in
index b2d7543d021e18a7e3cde43a4867794c9b709c59..9aeebc11f8cab58d9fd64bd9f64c8fd4a7fcb67b 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
@@ -152,7 +158,7 @@ menu "Target Images"
 
                choice
                        prompt "compression"
-                       default TARGET_UBIFS_COMPRESSION_NONE
+                       default TARGET_UBIFS_COMPRESSION_ZLIB
                        depends on TARGET_ROOTFS_UBIFS
                        help
                          Select compression type