]> git.dujemihanovic.xyz Git - linux.git/commitdiff
Kbuild: make MODVERSIONS support depend on not being a compile test build
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 25 Sep 2024 18:08:28 +0000 (11:08 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 25 Sep 2024 18:08:28 +0000 (11:08 -0700)
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>
kernel/module/Kconfig

index 4047b6d482557c9145ec9acf89c0c77016d82178..05a9a06a140c9d201dac884b4e8ef683cf602faa 100644 (file)
@@ -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