[PATCH] 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.
Signed-off-by: Pali Rohár pali@kernel.org --- fs/fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/fs.c b/fs/fs.c index 7bf8c440886a..b4306cf8499e 100644 --- a/fs/fs.c +++ b/fs/fs.c @@ -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",

On Wed, Apr 06, 2022 at 11:34:00PM +0200, Pali Rohár wrote:
CONFIG_SPL_FS_SQUASHFS cannot be disabled when CONFIG_FS_SQUASHFS is enabled. Fix it.
Signed-off-by: Pali Rohár pali@kernel.org
Applied to u-boot/master, thanks!
participants (2)
-
Pali Rohár
-
Tom Rini