um: Prevent building modules incompatible with MODVERSIONS
authorPeter Foley <pefoley2@pefoley.com>
Fri, 13 Jan 2023 04:49:09 +0000 (23:49 -0500)
committerRichard Weinberger <richard@nod.at>
Mon, 13 Feb 2023 09:14:16 +0000 (10:14 +0100)
commit910dba41239224069c17bb6c30c9d43c1ba229f1
tree29de93724daa6f96cba2fc17900a1f9ddfa7f9bf
parent2c4d3841a82b88ae8a7b518dc6206f84f68e705a
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>
arch/um/drivers/Kconfig