Skip to contentSkip to conversation

fs: Allow to compile FS_SQUASHFS only for proper U-Boot

PATCH In review Pali Rohár 2 participants 2 messages Apr 6, 2022 – Apr 21, 2022 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fs: Allow to compile FS_SQUASHFS only for proper U-Boot

CONFIG_SPL_FS_SQUASHFS cannot be disabled when CONFIG_FS_SQUASHFS is enabled. Fix it.

---
 fs/fs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/fs.c +1 -1
index 7bf8c440886a..b4306cf8499e 100644
@@ -286,7 +286,7 @@ static struct fstype_info fstypes[] = {
 		.ln = fs_ln_unsupported,
 	},
 #endif
-#if IS_ENABLED(CONFIG_FS_SQUASHFS)
+#if CONFIG_IS_ENABLED(FS_SQUASHFS)
 	{
 		.fstype = FS_TYPE_SQUASHFS,
 		.name = "squashfs",
Signature · 1 line
2.20.1
#1 lore raw
Quoted 4 lines · Pali Rohár

CONFIG_SPL_FS_SQUASHFS cannot be disabled when CONFIG_FS_SQUASHFS is enabled. Fix it.

Applied to u-boot/master, thanks!

Signature · 1 line
Tom