From 95ee1c7be9baacdc9b772b7da470cf5d98d39a45 Mon Sep 17 00:00:00 2001 From: Tony Butler Date: Mon, 28 Nov 2022 04:00:02 -0800 Subject: [PATCH] build: images: squashfs: add help, fix description add help text for `TARGET_SQUASHFS_BLOCK_SIZE` to match the only valid settings accepted by `mksquashfs4` ("block size not power of two or not between 4096 and 1Mbyte") thus for this setting in "KB", the set: `4, 8, 16, 32, 64, 128, 256, 512, 1024` replace `squashfs-lzma` with `squashfs` in the description for `TARGET_ROOTFS_SQUASHFS` because it has various compressions, and not just lzma as it did in the past cosmetic change with no functional effect Signed-off-by: Tony Butler --- config/Config-images.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/Config-images.in b/config/Config-images.in index 65fe04876..b27655967 100644 --- a/config/Config-images.in +++ b/config/Config-images.in @@ -151,7 +151,7 @@ menu "Target Images" bool "squashfs" default y if USES_SQUASHFS help - Build a squashfs-lzma root filesystem. + Build a squashfs root filesystem. config TARGET_SQUASHFS_BLOCK_SIZE int "Block size (in KiB)" @@ -159,6 +159,9 @@ menu "Target Images" default 64 if LOW_MEMORY_FOOTPRINT default 1024 if (SMALL_FLASH && !LOW_MEMORY_FOOTPRINT) default 1024 + help + Select squashfs block size, must be one of: + 4, 8, 16, 32, 64, 128, 256, 512, 1024 menuconfig TARGET_ROOTFS_UBIFS bool "ubifs"