summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-02-11 09:53:17 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-02-16 04:00:52 +0100
commitbbac6f5c55a0158301dd3de439688032598b7523 (patch)
tree8e4cae4fd1e5e83c45a19d8f3e99a69555b9fb29 /mk
parentd3f9f5882c6b874bb710c28231b1dd34cd4049d9 (diff)
kmod: copy metadata files to target directory
Diffstat (limited to 'mk')
-rw-r--r--mk/kernel-build.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/mk/kernel-build.mk b/mk/kernel-build.mk
index aa7582b5c..29458abf0 100644
--- a/mk/kernel-build.mk
+++ b/mk/kernel-build.mk
@@ -121,6 +121,8 @@ ifneq ($(KERNEL_MODULES_USED),)
done
$(CMD_TRACE) " done"
$(END_TRACE)
+ $(CP) $(LINUX_BUILD_DIR)/modules/lib/modules/$(KERNEL_VERSION)/modules.{order,builtin} \
+ $(TARGET_DIR)/lib/modules/$(KERNEL_VERSION)/
endif
clean: