summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/kernel.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 004a10b8e1..42543e0e4f 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -103,6 +103,8 @@ kernel_do_install() {
103 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE 103 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
104 if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then 104 if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then
105 oe_runmake DEPMOD=echo INSTALL_MOD_PATH="${D}" modules_install 105 oe_runmake DEPMOD=echo INSTALL_MOD_PATH="${D}" modules_install
106 rm -f "${D}/lib/modules/${KERNEL_VERSION}/modules.order"
107 rm -f "${D}/lib/modules/${KERNEL_VERSION}/modules.builtin"
106 else 108 else
107 bbnote "no modules to install" 109 bbnote "no modules to install"
108 fi 110 fi