aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/rstrip.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/rstrip.sh')
-rwxr-xr-xscripts/rstrip.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/rstrip.sh b/scripts/rstrip.sh
index 59f8624df2..e47960a941 100755
--- a/scripts/rstrip.sh
+++ b/scripts/rstrip.sh
@@ -27,6 +27,7 @@ find $TARGETS -type f -a -exec file {} \; | \
while read F S; do
echo "$SELF: $F: $S"
[ "${S}" = "relocatable" ] && {
+ [ "${F##*.}" == "o" ] && continue
eval "$STRIP_KMOD $F"
} || {
b=$(stat -c '%a' $F)