linux: cleanup, we are stripping kernel modules before we creating the image globally

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-03-21 21:47:42 +01:00
parent e3d84bcd4f
commit b04889f135

View File

@ -30,8 +30,6 @@ mkdir -p $INSTALL/lib/modules/$VER
cp -r $PKG_BUILD/modules/* $INSTALL
rm -f $INSTALL/lib/modules/$VER/modules.*
strip_kmod $INSTALL/lib/modules/$VER/kernel
$ROOT/$TOOLCHAIN/sbin/depmod -b $INSTALL $VER > /dev/null
for i in `ls $INSTALL/lib/modules/*/modules.* | grep -v modules.dep | grep -v modules.alias | grep -v modules.symbols`; do
rm -f $i