diff options
Diffstat (limited to 'core/includes/kernel.inc')
-rw-r--r-- | core/includes/kernel.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/includes/kernel.inc b/core/includes/kernel.inc index 8208dcd4..9d7ff839 100644 --- a/core/includes/kernel.inc +++ b/core/includes/kernel.inc @@ -129,8 +129,9 @@ copy_kernel_modules () { >> "${TARGET_BUILD_DIR}/${KERNEL_MODULES_DIR}/modules.order" # copy list of builtin kernel modules cp "${KERNEL_MODULES_DIR}/modules.builtin" "${TARGET_BUILD_DIR}/${KERNEL_MODULES_DIR}" - # with modules.order and modules.builtin, we can run depmod for the rest of the files - depmod -b "${TARGET_BUILD_DIR}" -a "${TARGET_KERNEL_LONG}" + # generating modules.order here is needed since REQUIRED_KERNEL_MODULES will not + # be set outside of this module's scope, depmod will be executed in post_process_target + # to allow other modules (like dnbd3) to install additional kernel modules # # Firmware |