diff options
| -rw-r--r-- | meta/classes/kernel.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index f7d199e917..5951347361 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
| @@ -442,8 +442,8 @@ kernel_do_install() { | |||
| 442 | unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE | 442 | unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE |
| 443 | if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then | 443 | if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then |
| 444 | oe_runmake DEPMOD=echo MODLIB=${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION} INSTALL_FW_PATH=${D}${nonarch_base_libdir}/firmware modules_install | 444 | oe_runmake DEPMOD=echo MODLIB=${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION} INSTALL_FW_PATH=${D}${nonarch_base_libdir}/firmware modules_install |
| 445 | rm "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/build" | 445 | rm -f "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/build" |
| 446 | rm "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/source" | 446 | rm -f "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/source" |
| 447 | # Remove empty module directories to prevent QA issues | 447 | # Remove empty module directories to prevent QA issues |
| 448 | find "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel" -type d -empty -delete | 448 | find "${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/kernel" -type d -empty -delete |
| 449 | else | 449 | else |
