Clean up kernel modules.

This commit is contained in:
Steve Kondik 2010-07-11 04:34:44 -04:00
parent 94ca1ae03f
commit 008c06543a

View File

@ -75,6 +75,12 @@ for i in $DELETE_BINS; do
rm -f bin/$i
done
# Delete leftover wireless driver
rm -rf lib/modules/*/kernel/drivers/net
# Strip modules
find lib/modules -name "*.ko" -exec arm-eabi-strip --strip-unneeded {} \;
# Find the CM version
MODVERSION=`sed -ne '/ro\.modversion/s/^.*CyanogenMod-//p' build.prop`