kconfigcheck: drop DEBUG_INFO_BTF=n for LTO+Rust

These options are required to get BPF stuff working in the kernel.

Fixes #4411

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8779>
This commit is contained in:
Clayton Craft
2026-06-14 16:03:04 +00:00
parent 5f8ef38f89
commit 2ca69460a1
-2
View File
@@ -696,8 +696,6 @@ RUST = "y"
["category:rust".">=6.9.0"."aarch64"]
RUST = "y"
["category:rust".">=0.0.0"."aarch64 loongarch64 x86_64"]
DEBUG_INFO_BTF = "n" # Conflicts with LTO when Rust is enabled
DEBUG_INFO_BTF_MODULES = "n" # Conflicts with LTO when Rust is enabled
MODVERSIONS = "n"
# SELinux support, separate from hardening to keep it opt-in for now