From b51abacb5fd465e5ce4329ec27ac516b5a2b83b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Beh=C3=BAn?= Date: Mon, 22 Jul 2024 16:57:50 +0200 Subject: config: kernel: Add support for configuring BTRFS to be built-in MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add the KERNEL_BTRFS_FS config option so that targets can select whether BTRFS support must be built-in. Select this option (alongside KERNEL_BTRFS_FS_POSIX_ACL) from the layerscape/armv8_64b subtarget instead of enabling it in target/linux/layerscape/armv8_64b/config-* files. Move disabling of CONFIG_BTRFS_FS_CHECK_INTEGRITY into generic configs. This makes it possible for OpenWRT to be built with built-in BTRFS support on specific boards, instead of whole targets. Signed-off-by: Marek BehĂșn Link: https://github.com/openwrt/openwrt/pull/15990 Signed-off-by: Hauke Mehrtens --- config/Config-kernel.in | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config') diff --git a/config/Config-kernel.in b/config/Config-kernel.in index 9cedd1df12..73b26b631a 100644 --- a/config/Config-kernel.in +++ b/config/Config-kernel.in @@ -1238,6 +1238,12 @@ if KERNEL_IP_PNP endif +config KERNEL_BTRFS_FS + bool "Compile the kernel with built-in BTRFS support" + help + Say Y here if you want to make the kernel to be able to boot off a + BTRFS partition. + menu "Filesystem ACL and attr support options" config USE_FS_ACL_ATTR bool "Use filesystem ACL and attr support by default" -- cgit v1.2.3