summaryrefslogtreecommitdiff
path: root/openwrt
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
commit0f0e7352b544482fa3c19f6881f7286ef0a46fef (patch)
treed2a9c22c927a690a7c250bf42739e447cd17c209 /openwrt
parentfe7805070989f6b5a6888a1f09cffeb48aeab2b3 (diff)
downloadmtk-20170518-0f0e7352b544482fa3c19f6881f7286ef0a46fef.zip
mtk-20170518-0f0e7352b544482fa3c19f6881f7286ef0a46fef.tar.gz
mtk-20170518-0f0e7352b544482fa3c19f6881f7286ef0a46fef.tar.bz2
don't try to strip kernel modules
SVN-Revision: 3859
Diffstat (limited to 'openwrt')
-rwxr-xr-xopenwrt/scripts/rstrip.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/scripts/rstrip.sh b/openwrt/scripts/rstrip.sh
index d9d3ad2..023ae4e 100755
--- a/openwrt/scripts/rstrip.sh
+++ b/openwrt/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=":"