config: kernel: Add support for configuring BTRFS to be built-in
authorMarek Behún <kabel@kernel.org>
Mon, 22 Jul 2024 14:57:50 +0000 (16:57 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 14 Aug 2024 22:35:17 +0000 (00:35 +0200)
commitb51abacb5fd465e5ce4329ec27ac516b5a2b83b9
treefa6fa6f4fec710f1a858460935cbaae2b7b91c28
parent2fbffb3643b012e37c692e8c390b916b8ad20fe3
config: kernel: Add support for configuring BTRFS to be built-in

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 <kabel@kernel.org>
Link: https://github.com/openwrt/openwrt/pull/15990
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
config/Config-kernel.in
target/linux/generic/config-5.15
target/linux/generic/config-6.1
target/linux/generic/config-6.6
target/linux/layerscape/armv8_64b/config-6.1
target/linux/layerscape/armv8_64b/config-6.6
target/linux/layerscape/armv8_64b/target.mk