u-boot/0006-Kconfig-add-btrfs-to-distro-boot.patch

27 lines
925 B
Diff

From f871287c2816f989f8d61ac4e3ef4efedbd473d5 Mon Sep 17 00:00:00 2001
From: Guillaume Gardet <guillaume.gardet@arm.com>
Date: Wed, 5 Apr 2023 14:25:29 +0200
Subject: [PATCH] Kconfig: add btrfs to distro boot
Some distributions use btrfs as the default file system.
Enable btrfs support by default when using distro boot for all
architectures but riscv, as it breaks compilation due to size problems.
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
---
boot/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/boot/Kconfig b/boot/Kconfig
index ad035695a4..f462ab0e88 100644
--- a/boot/Kconfig
+++ b/boot/Kconfig
@@ -838,6 +838,7 @@ config DISTRO_DEFAULTS
select CMD_SYSBOOT
select HUSH_PARSER
select SYS_LONGHELP
+ imply CMD_BTRFS if !RISCV && !MIPS
help
Select this to enable various options and commands which are suitable
for building u-boot for booting general purpose Linux distributions.