diff options
author | Peter Foley <pefoley2@pefoley.com> | 2023-01-13 07:49:09 +0300 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2023-02-13 12:14:16 +0300 |
commit | 910dba41239224069c17bb6c30c9d43c1ba229f1 (patch) | |
tree | 29de93724daa6f96cba2fc17900a1f9ddfa7f9bf /arch/um/drivers | |
parent | 2c4d3841a82b88ae8a7b518dc6206f84f68e705a (diff) | |
download | linux-910dba41239224069c17bb6c30c9d43c1ba229f1.tar.xz |
um: Prevent building modules incompatible with MODVERSIONS
The manual ld invocation in arch/um/drivers doesn't play nicely with
genksyms. Given the problematic modules are deprecated anyway, just
prevent building them when using MODVERSIONS.
e.g.
MODPOST Module.symvers
arch/um/drivers/.pcap.o.cmd: No such file or directory
Signed-off-by: Peter Foley <pefoley2@pefoley.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/drivers')
-rw-r--r-- | arch/um/drivers/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/um/drivers/Kconfig b/arch/um/drivers/Kconfig index a4f0a19fbe14..36911b1fddcf 100644 --- a/arch/um/drivers/Kconfig +++ b/arch/um/drivers/Kconfig @@ -261,6 +261,7 @@ config UML_NET_VECTOR config UML_NET_VDE bool "VDE transport (obsolete)" depends on UML_NET + depends on !MODVERSIONS select MAY_HAVE_RUNTIME_DEPS help This User-Mode Linux network transport allows one or more running @@ -309,6 +310,7 @@ config UML_NET_MCAST config UML_NET_PCAP bool "pcap transport (obsolete)" depends on UML_NET + depends on !MODVERSIONS select MAY_HAVE_RUNTIME_DEPS help The pcap transport makes a pcap packet stream on the host look |