projects
/
librecmc
/
librecmc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb17a3d
)
strip relocatable binaries (not depending on the extension) ( thanks to Thomas )
author
Ralph Hempel
<ralph.hempel@lantiq.com>
Mon, 2 Mar 2009 17:33:02 +0000
(17:33 +0000)
committer
Ralph Hempel
<ralph.hempel@lantiq.com>
Mon, 2 Mar 2009 17:33:02 +0000
(17:33 +0000)
SVN-Revision: 14726
scripts/rstrip.sh
patch
|
blob
|
history
diff --git
a/scripts/rstrip.sh
b/scripts/rstrip.sh
index 6dd44f2ed272c65e84fbedc8d90a42d7dc627864..5efc866524b8dd63dcc23a50f92383c29f1c8ed6 100755
(executable)
--- 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"