summaryrefslogtreecommitdiffstats
path: root/scripts/rstrip.sh
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-05-31 14:29:33 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-05-31 14:29:33 +0000
commit376671b487d255b4620d190958ea710e2f106a62 (patch)
tree968637a34e4a9eca74e70fee1374ab2ee244d553 /scripts/rstrip.sh
parent83ce4604cc2e3af0c4d5bade14a4ee74875c34ba (diff)
don't try to strip kernel modules
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3859 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/rstrip.sh')
-rwxr-xr-xscripts/rstrip.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rstrip.sh b/scripts/rstrip.sh
index d9d3ad21b..023ae4e54 100755
--- a/scripts/rstrip.sh
+++ b/scripts/rstrip.sh
@@ -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=":"