fs: Allow to compile FS_SQUASHFS only for proper U-Boot
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.
Signed-off-by Pali Rohár <[email protected]>
--- fs/fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/fs.c +1 -1
@@ -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
Quoted 4 lines · Pali Rohár
CONFIG_SPL_FS_SQUASHFScannot be disabled whenCONFIG_FS_SQUASHFSis enabled. Fix it.Signed-off-by Pali Rohár <[email protected]>
Applied to u-boot/master, thanks!
Signature · 1 line
Tom