Clean up kernel modules.
This commit is contained in:
parent
94ca1ae03f
commit
008c06543a
@ -75,6 +75,12 @@ for i in $DELETE_BINS; do
|
|||||||
rm -f bin/$i
|
rm -f bin/$i
|
||||||
done
|
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
|
# Find the CM version
|
||||||
MODVERSION=`sed -ne '/ro\.modversion/s/^.*CyanogenMod-//p' build.prop`
|
MODVERSION=`sed -ne '/ro\.modversion/s/^.*CyanogenMod-//p' build.prop`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user