diff options
author | Steve Kondik <shade@chemlab.org> | 2010-07-11 04:34:44 -0400 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2010-07-11 04:34:44 -0400 |
commit | 5792a760f3514285f117c4a9a8d387809d9b1c33 (patch) | |
tree | 7a6ad2ff74c7e4e674c0f7bddb38d0a68e0d735b /tools | |
parent | 8c3d9dc1f5ee3a444e3a078be562f8a127859c59 (diff) | |
download | vendor_replicant-5792a760f3514285f117c4a9a8d387809d9b1c33.zip vendor_replicant-5792a760f3514285f117c4a9a8d387809d9b1c33.tar.gz vendor_replicant-5792a760f3514285f117c4a9a8d387809d9b1c33.tar.bz2 |
Clean up kernel modules.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/squisher | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/squisher b/tools/squisher index e72431d..57498c4 100755 --- a/tools/squisher +++ b/tools/squisher @@ -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` |