strip relocatable binaries (not depending on the extension)

( thanks to Thomas )



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14726 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Ralph Hempel 2009-03-02 17:33:02 +00:00
parent 860588c170
commit d499c25b04
1 changed files with 1 additions and 1 deletions

View File

@ -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"