From 0f0e7352b544482fa3c19f6881f7286ef0a46fef Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 31 May 2006 14:29:33 +0000 Subject: [PATCH] don't try to strip kernel modules SVN-Revision: 3859 --- openwrt/scripts/rstrip.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openwrt/scripts/rstrip.sh b/openwrt/scripts/rstrip.sh index d9d3ad21b6..023ae4e54f 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=":" -- 2.34.1