aboutsummaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/kernel.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index bd7b23f3bd..5ea0368e0a 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
@@ -126,6 +126,8 @@ kernel_do_install() {
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then
oe_runmake DEPMOD=echo INSTALL_MOD_PATH="${D}" modules_install
+ rm -f "${D}/lib/modules/${KERNEL_VERSION}/modules.order"
+ rm -f "${D}/lib/modules/${KERNEL_VERSION}/modules.builtin"
else
oenote "no modules to install"
fi