mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-17 15:14:44 +02:00
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
This commit is contained in:
parent
e9861a31a4
commit
2c0ee53d13
@ -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…
x
Reference in New Issue
Block a user