strip relocatable binaries (not depending on the extension) ( thanks to Thomas )
SVN-Revision: 14726
This commit is contained in:
parent
bb17a3dd1b
commit
91042e02a7
|
@ -45,7 +45,7 @@ find $TARGETS -type f -a -exec file {} \; | \
|
||||||
IFS=":"
|
IFS=":"
|
||||||
while read F S; do
|
while read F S; do
|
||||||
echo "$SELF: $F:$S"
|
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_KMOD -w -K '__param*' -K '__mod*' $(find_modparams "$F")$F"
|
||||||
} || {
|
} || {
|
||||||
eval "$STRIP $F"
|
eval "$STRIP $F"
|
||||||
|
|
Loading…
Reference in New Issue