summaryrefslogtreecommitdiffstats
path: root/kernel/module/Kconfig
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-09-25 20:08:28 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2024-09-25 20:08:28 +0200
commit1f9c4a996756867d678833c0513eabe4e8f1ed60 (patch)
tree4f10fa7d8b163e3bdcd40263e2de384f630c2a27 /kernel/module/Kconfig
parentMerge tag 'rust-6.12' of https://github.com/Rust-for-Linux/linux (diff)
downloadlinux-1f9c4a996756867d678833c0513eabe4e8f1ed60.tar.xz
linux-1f9c4a996756867d678833c0513eabe4e8f1ed60.zip
Kbuild: make MODVERSIONS support depend on not being a compile test build
Currently the Rust support is gated on not having MODVERSIONS enabled, and as a result an "allmodconfig" build will disable Rust build tests. While MODVERSIONS configurations are worth build testing, the feature is not actually meaningful unless you run the result, and I'd rather get build coverage of Rust than MODVERSIONS. So let's disable MODVERSIONS for build testing until the Rust side clears up. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--kernel/module/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/module/Kconfig b/kernel/module/Kconfig
index 4047b6d48255..05a9a06a140c 100644
--- a/kernel/module/Kconfig
+++ b/kernel/module/Kconfig
@@ -160,6 +160,7 @@ config MODULE_UNLOAD_TAINT_TRACKING
config MODVERSIONS
bool "Module versioning support"
+ depends on !COMPILE_TEST
help
Usually, you have to use modules compiled with your kernel.
Saying Y here makes it sometimes possible to use modules