diff options
author | Jonathan Bauer | 2013-03-14 14:34:48 +0100 |
---|---|---|
committer | Jonathan Bauer | 2013-03-14 14:34:48 +0100 |
commit | aadfb7d6498b3ea472ece742490e52c05b12daee (patch) | |
tree | 35df8d60e4f7f1648b8469cb459e6dceb95a2da6 /remote/setup_tools | |
parent | new arguments for mltk, see manpages & changed INIT_DIR to TARGET_BUILD DIR (diff) | |
download | tm-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-x | remote/setup_tools | 2 |
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 |