summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-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 3abd689794..31e4a683d1 100644
--- a/meta/classes-recipe/kernel.bbclass
+++ b/meta/classes-recipe/kernel.bbclass
@@ -445,8 +445,8 @@ kernel_do_install() {
445 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE 445 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
446 if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then 446 if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then
447 oe_runmake DEPMOD=echo MODLIB=${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION} INSTALL_FW_PATH=${D}${nonarch_base_libdir}/firmware modules_install 447 oe_runmake DEPMOD=echo MODLIB=${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION} INSTALL_FW_PATH=${D}${nonarch_base_libdir}/firmware modules_install
448 rm "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/build" 448 rm -f "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/build"
449 rm "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/source" 449 rm -f "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/source"
450 # Remove empty module directories to prevent QA issues 450 # Remove empty module directories to prevent QA issues
451 find "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel" -type d -empty -delete 451 find "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel" -type d -empty -delete
452 else 452 else