aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-05-31 14:29:33 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-05-31 14:29:33 +0000
commitfcbf1847c9eb829ade4dd688bb736c0ad6b0e51f (patch)
tree968637a34e4a9eca74e70fee1374ab2ee244d553
parentbab43e3269e2a1a2b7eb6aefe630b0aed735382f (diff)
downloadupstream-fcbf1847c9eb829ade4dd688bb736c0ad6b0e51f.tar.gz
upstream-fcbf1847c9eb829ade4dd688bb736c0ad6b0e51f.tar.bz2
upstream-fcbf1847c9eb829ade4dd688bb736c0ad6b0e51f.zip
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
-rwxr-xr-xscripts/rstrip.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rstrip.sh b/scripts/rstrip.sh
index d9d3ad21b6..023ae4e54f 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=":"