Commit 1f9c4a99 authored by Linus Torvalds's avatar Linus Torvalds
Browse files

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: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 57017256
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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