summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes-recipe/kernel.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes-recipe/kernel.bbclass b/meta/classes-recipe/kernel.bbclass
index acb43bd4d5..2ec9ea2091 100644
--- a/meta/classes-recipe/kernel.bbclass
+++ b/meta/classes-recipe/kernel.bbclass
@@ -454,8 +454,8 @@ kernel_do_install() {
454 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE 454 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
455 if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then 455 if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then
456 oe_runmake DEPMOD=echo MODLIB=${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION} INSTALL_FW_PATH=${D}${nonarch_base_libdir}/firmware modules_install 456 oe_runmake DEPMOD=echo MODLIB=${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION} INSTALL_FW_PATH=${D}${nonarch_base_libdir}/firmware modules_install
457 rm "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/build" 457 rm -f "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/build"
458 rm "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/source" 458 rm -f "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/source"
459 # Remove empty module directories to prevent QA issues 459 # Remove empty module directories to prevent QA issues
460 find "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel" -type d -empty -delete 460 find "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel" -type d -empty -delete
461 else 461 else