don't try to strip kernel modules
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 31 May 2006 14:29:33 +0000 (14:29 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 31 May 2006 14:29:33 +0000 (14:29 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3859 3c298f89-4303-0410-b956-a3cf2f4a3e73

scripts/rstrip.sh

index d9d3ad21b636d8fd41c25776bc7c610844dd377a..023ae4e54fdc8aa1ab945a4acd98be112e6498b2 100755 (executable)
@@ -15,7 +15,7 @@ TARGETS=$*
   exit 1
 }
 
-find $TARGETS -type f -a -exec file {} \; | \
+find $TARGETS -type f -not -name \*.o -not -name \*.ko -a -exec file {} \; | \
   sed -n -e 's/^\(.*\):.*ELF.*\(executable\|relocatable\|shared object\).*, not stripped/\1:\2/p' | \
 (
   IFS=":"