Skip to content

Commit 1f9c4a9

Browse files
committed
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>
1 parent 5701725 commit 1f9c4a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kernel/module/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ config MODULE_UNLOAD_TAINT_TRACKING
160160

161161
config MODVERSIONS
162162
bool "Module versioning support"
163+
depends on !COMPILE_TEST
163164
help
164165
Usually, you have to use modules compiled with your kernel.
165166
Saying Y here makes it sometimes possible to use modules

0 commit comments

Comments
 (0)