From fcbf1847c9eb829ade4dd688bb736c0ad6b0e51f 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 git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3859 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- scripts/rstrip.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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=":" -- 2.11.0