diff options
-rwxr-xr-x | scripts/rstrip.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rstrip.sh b/scripts/rstrip.sh index 6dd44f2ed2..5efc866524 100755 --- a/scripts/rstrip.sh +++ b/scripts/rstrip.sh @@ -45,7 +45,7 @@ find $TARGETS -type f -a -exec file {} \; | \ IFS=":" while read F S; do echo "$SELF: $F:$S" - [ "${F##*\.}" = "o" -o "${F##*\.}" = "ko" ] && { + [ "${S}" = "relocatable" ] && { eval "$STRIP_KMOD -w -K '__param*' -K '__mod*' $(find_modparams "$F")$F" } || { eval "$STRIP $F" |