summaryrefslogtreecommitdiffstats
path: root/kernel/module/Makefile
diff options
context:
space:
mode:
authorLuis Chamberlain <mcgrof@kernel.org>2023-03-19 14:35:42 -0700
committerLuis Chamberlain <mcgrof@kernel.org>2023-03-24 11:33:08 -0700
commit25be451aa4c0e9a96c59a626ab0e93d5cb7f6f48 (patch)
treeb99fe06cb89ed3bae00f25749ba0b1f503d6a75f /kernel/module/Makefile
parent3d40bb903ed1f654707d34bdd61ee2c332000e4b (diff)
downloadlinux-stable-25be451aa4c0e9a96c59a626ab0e93d5cb7f6f48.tar.gz
linux-stable-25be451aa4c0e9a96c59a626ab0e93d5cb7f6f48.tar.bz2
linux-stable-25be451aa4c0e9a96c59a626ab0e93d5cb7f6f48.zip
module: fold usermode helper kmod into modules directory
The kernel/kmod.c is already only built if we enabled modules, so just stuff it under kernel/module/kmod.c and unify the MAINTAINERS file for it. Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'kernel/module/Makefile')
-rw-r--r--kernel/module/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/module/Makefile b/kernel/module/Makefile
index 948efea81e85..5b1d26b53b8d 100644
--- a/kernel/module/Makefile
+++ b/kernel/module/Makefile
@@ -7,7 +7,9 @@
# and produce insane amounts of uninteresting coverage.
KCOV_INSTRUMENT_module.o := n
-obj-y += main.o strict_rwx.o
+obj-y += main.o
+obj-y += strict_rwx.o
+obj-y += kmod.o
obj-$(CONFIG_MODULE_DECOMPRESS) += decompress.o
obj-$(CONFIG_MODULE_SIG) += signing.o
obj-$(CONFIG_LIVEPATCH) += livepatch.o