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