1 # SPDX-License-Identifier: GPL-2.0-only
3 # Makefile for linux kernel module support
6 # These are called from save_stack_trace() on slub debug path,
7 # and produce insane amounts of uninteresting coverage.
8 KCOV_INSTRUMENT_module.o := n
10 obj-y += main.o strict_rwx.o
11 obj-$(CONFIG_MODULE_DECOMPRESS) += decompress.o
12 obj-$(CONFIG_MODULE_SIG) += signing.o
13 obj-$(CONFIG_LIVEPATCH) += livepatch.o
14 obj-$(CONFIG_MODULES_TREE_LOOKUP) += tree_lookup.o
15 obj-$(CONFIG_DEBUG_KMEMLEAK) += debug_kmemleak.o
16 obj-$(CONFIG_KALLSYMS) += kallsyms.o
17 obj-$(CONFIG_PROC_FS) += procfs.o
18 obj-$(CONFIG_SYSFS) += sysfs.o
19 obj-$(CONFIG_KGDB_KDB) += kdb.o
20 obj-$(CONFIG_MODVERSIONS) += version.o
21 obj-$(CONFIG_MODULE_UNLOAD_TAINT_TRACKING) += tracking.o