bcm_sta: 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:48:13 +01:00
parent b04889f135
commit 0ceecbd45a

View File

@ -28,8 +28,6 @@ mkdir -p $INSTALL/lib/modules/$VER/bcm_sta
[ "$TARGET_ARCH" = "i386" ] && cp $PKG_BUILD/x86-32/wl.ko $INSTALL/lib/modules/$VER/bcm_sta
[ "$TARGET_ARCH" = "x86_64" ] && cp $PKG_BUILD/x86-64/wl.ko $INSTALL/lib/modules/$VER/bcm_sta
strip_kmod $INSTALL/lib/modules/$VER/bcm_sta
$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