summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/kernel.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index ba5b6cf384..ca7530095e 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -405,8 +405,8 @@ kernel_do_install() {
405 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE 405 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
406 if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then 406 if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then
407 oe_runmake DEPMOD=echo MODLIB=${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION} INSTALL_FW_PATH=${D}${nonarch_base_libdir}/firmware modules_install 407 oe_runmake DEPMOD=echo MODLIB=${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION} INSTALL_FW_PATH=${D}${nonarch_base_libdir}/firmware modules_install
408 rm "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/build" 408 rm -f "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/build"
409 rm "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/source" 409 rm -f "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/source"
410 # If the kernel/ directory is empty remove it to prevent QA issues 410 # If the kernel/ directory is empty remove it to prevent QA issues
411 rmdir --ignore-fail-on-non-empty "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel" 411 rmdir --ignore-fail-on-non-empty "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel"
412 else 412 else