xref: /openbmc/linux/kernel/module/Makefile (revision c4f461a1)
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
11obj-y += strict_rwx.o
12obj-y += kmod.o
13obj-$(CONFIG_MODULE_DEBUG_AUTOLOAD_DUPS) += dups.o
14obj-$(CONFIG_MODULE_DECOMPRESS) += decompress.o
15obj-$(CONFIG_MODULE_SIG) += signing.o
16obj-$(CONFIG_LIVEPATCH) += livepatch.o
17obj-$(CONFIG_MODULES_TREE_LOOKUP) += tree_lookup.o
18obj-$(CONFIG_DEBUG_KMEMLEAK) += debug_kmemleak.o
19obj-$(CONFIG_KALLSYMS) += kallsyms.o
20obj-$(CONFIG_PROC_FS) += procfs.o
21obj-$(CONFIG_SYSFS) += sysfs.o
22obj-$(CONFIG_KGDB_KDB) += kdb.o
23obj-$(CONFIG_MODVERSIONS) += version.o
24obj-$(CONFIG_MODULE_UNLOAD_TAINT_TRACKING) += tracking.o
25obj-$(CONFIG_MODULE_STATS) += stats.o
26