summaryrefslogtreecommitdiffstats
path: root/remote/setup_tools
diff options
context:
space:
mode:
authorJonathan Bauer2013-03-14 14:34:48 +0100
committerJonathan Bauer2013-03-14 14:34:48 +0100
commitaadfb7d6498b3ea472ece742490e52c05b12daee (patch)
tree35df8d60e4f7f1648b8469cb459e6dceb95a2da6 /remote/setup_tools
parentnew arguments for mltk, see manpages & changed INIT_DIR to TARGET_BUILD DIR (diff)
downloadtm-scripts-aadfb7d6498b3ea472ece742490e52c05b12daee.tar.gz
tm-scripts-aadfb7d6498b3ea472ece742490e52c05b12daee.tar.xz
tm-scripts-aadfb7d6498b3ea472ece742490e52c05b12daee.zip
strip binaries and libraries in setup_tools
Diffstat (limited to 'remote/setup_tools')
-rwxr-xr-xremote/setup_tools2
1 files changed, 2 insertions, 0 deletions
diff --git a/remote/setup_tools b/remote/setup_tools
index 4e118a18..722dba58 100755
--- a/remote/setup_tools
+++ b/remote/setup_tools
@@ -82,6 +82,7 @@ copyfileswithdependencies () {
pdebug "\tFound ${FILENAME} at ${FILE}"
fi
for FILE in $FINAL_LIST; do
+ strip $FILE || pwarning "Could not strip '${FILE}'"
get_link_chain "${TOOL_DIR}/${TOOL}/build/${FILE}" "${TOOL_DIR}/${TOOL}/build" >> "${COPYFILES_LIST}"
get_dynamic_dependencies -l "${TOOL_DIR}/${TOOL}/build" "${FILE}" >> "${COPYFILES_LIST}"
done
@@ -93,6 +94,7 @@ copyfileswithdependencies () {
for LOCATION in $(find . -name ${LIB}.so\*)
do
pdebug "* $LOCATION"
+ strip $LOCATION || pwarning "Could not strip '${LOCATION}'"
get_link_chain "${TOOL_DIR}/${TOOL}/build/${LOCATION}" "${TOOL_DIR}/${TOOL}/build" >> "${COPYFILES_LIST}"
get_dynamic_dependencies -l "${TOOL_DIR}/${TOOL}/build" "${LOCATION}" >> "${COPYFILES_LIST}"
done