162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Makefile for linux kernel module support
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci# These are called from save_stack_trace() on slub debug path,
762306a36Sopenharmony_ci# and produce insane amounts of uninteresting coverage.
862306a36Sopenharmony_ciKCOV_INSTRUMENT_module.o := n
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ciobj-y += main.o
1162306a36Sopenharmony_ciobj-y += strict_rwx.o
1262306a36Sopenharmony_ciobj-y += kmod.o
1362306a36Sopenharmony_ciobj-$(CONFIG_MODULE_DEBUG_AUTOLOAD_DUPS) += dups.o
1462306a36Sopenharmony_ciobj-$(CONFIG_MODULE_DECOMPRESS) += decompress.o
1562306a36Sopenharmony_ciobj-$(CONFIG_MODULE_SIG) += signing.o
1662306a36Sopenharmony_ciobj-$(CONFIG_LIVEPATCH) += livepatch.o
1762306a36Sopenharmony_ciobj-$(CONFIG_MODULES_TREE_LOOKUP) += tree_lookup.o
1862306a36Sopenharmony_ciobj-$(CONFIG_DEBUG_KMEMLEAK) += debug_kmemleak.o
1962306a36Sopenharmony_ciobj-$(CONFIG_KALLSYMS) += kallsyms.o
2062306a36Sopenharmony_ciobj-$(CONFIG_PROC_FS) += procfs.o
2162306a36Sopenharmony_ciobj-$(CONFIG_SYSFS) += sysfs.o
2262306a36Sopenharmony_ciobj-$(CONFIG_KGDB_KDB) += kdb.o
2362306a36Sopenharmony_ciobj-$(CONFIG_MODVERSIONS) += version.o
2462306a36Sopenharmony_ciobj-$(CONFIG_MODULE_UNLOAD_TAINT_TRACKING) += tracking.o
2562306a36Sopenharmony_ciobj-$(CONFIG_MODULE_STATS) += stats.o
26