commit | 008c06543a09954ae8c97ed075665a805da9c810 | [log] [tgz] |
---|---|---|
author | Steve Kondik <shade@chemlab.org> | Sun Jul 11 04:34:44 2010 -0400 |
committer | Steve Kondik <shade@chemlab.org> | Sun Jul 11 04:34:44 2010 -0400 |
tree | 7a6ad2ff74c7e4e674c0f7bddb38d0a68e0d735b | |
parent | 94ca1ae03f0a8941f4b1e033bf362f627305b2e1 [diff] [blame] |
Clean up kernel modules.
diff --git a/tools/squisher b/tools/squisher index e72431d..57498c4 100755 --- a/tools/squisher +++ b/tools/squisher
@@ -75,6 +75,12 @@ 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`