summaryrefslogtreecommitdiff
path: root/arch/um/kernel/Makefile
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2021-03-15 23:47:31 +0100
committerRichard Weinberger <richard@nod.at>2021-04-15 23:10:33 +0200
commitad3d19911632debc886ef4a992d41d6de7927006 (patch)
treee36b92a80cb8dd5271f1470e6338352b039fdcaa /arch/um/kernel/Makefile
parentea8e896cc15e8fac586d018733fd67f56cd721cc (diff)
um: Disable CONFIG_GCOV with MODULES
CONFIG_GCOV doesn't work with modules, and for various reasons it cannot work, see also https://lore.kernel.org/r/d36ea54d8c0a8dd706826ba844a6f27691f45d55.camel@sipsolutions.net Make CONFIG_GCOV depend on !MODULES to avoid anyone running into issues there. This also means we need not export the gcov symbols. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/kernel/Makefile')
-rw-r--r--arch/um/kernel/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/um/kernel/Makefile b/arch/um/kernel/Makefile
index 5aa882011e04..e698e0c7dbdc 100644
--- a/arch/um/kernel/Makefile
+++ b/arch/um/kernel/Makefile
@@ -21,7 +21,6 @@ obj-y = config.o exec.o exitcode.o irq.o ksyms.o mem.o \
obj-$(CONFIG_BLK_DEV_INITRD) += initrd.o
obj-$(CONFIG_GPROF) += gprof_syms.o
-obj-$(CONFIG_GCOV) += gmon_syms.o
obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
obj-$(CONFIG_STACKTRACE) += stacktrace.o