Actually install modules to root manually, irq failed attempt

This commit is contained in:
Ciro Santilli
2017-06-05 11:30:24 +01:00
parent 991397dede
commit 4bef46b28f
4 changed files with 76 additions and 0 deletions

View File

@@ -13,6 +13,12 @@ define KERNEL_MODULE_BUILD_CMDS
endef
define KERNEL_MODULE_INSTALL_TARGET_CMDS
# The modules are already installed by the kernel-module package type
# under /lib/modules/**, but let's also copy the modules to the root
# for insmod convenience.
#
# Modules can be still be easily inserted with "modprobe module" however.
$(INSTALL) -D -m 0655 $(@D)/*.ko '$(TARGET_DIR)'
$(INSTALL) -D -m 0755 $(@D)/test/*.out '$(TARGET_DIR)'
endef