aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf_samuelsson@telia.com>2011-11-16 15:28:31 +0100
committerUlf Samuelsson <ulf_samuelsson@telia.com>2011-11-21 17:02:47 +0100
commit89dd82c2c7a389cf2d8969b6e171c8619130f784 (patch)
tree7c067eeddb5121468f25e172c97ebf3204471e19
parentc4344f1949d1dbc3a5a823e41b25f56af1a13793 (diff)
downloadopenembedded-89dd82c2c7a389cf2d8969b6e171c8619130f784.zip
openembedded-89dd82c2c7a389cf2d8969b6e171c8619130f784.tar.gz
openembedded-89dd82c2c7a389cf2d8969b6e171c8619130f784.tar.bz2
Remove some unneeded files from kernel build
Signed-off-by: Ulf Samuelsson <ulf.samuelsson@telia.com>
-rw-r--r--classes/kernel.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index bd7b23f..5ea0368 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