diff options
author | Zhenqiang Chen <zhenqiang.chen@linaro.org> | 2012-09-12 17:42:38 +0800 |
---|---|---|
committer | Zhenqiang Chen <zhenqiang.chen@linaro.org> | 2012-09-12 17:42:38 +0800 |
commit | 649c04594ade8fddca88c084fc0aa4a4f9cdad33 (patch) | |
tree | f95cd8f19047d6f4a42ab17d14c4196e6bd048e5 /scripts/build/internals.sh | |
parent | 8c43cdb4361f59d9c76e1c94f7686f62aff4971e (diff) | |
download | crosstool-ng-649c04594ade8fddca88c084fc0aa4a4f9cdad33.tar.gz crosstool-ng-649c04594ade8fddca88c084fc0aa4a4f9cdad33.tar.bz2 crosstool-ng-649c04594ade8fddca88c084fc0aa4a4f9cdad33.zip |
scripts: strip gdbserver
Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
Diffstat (limited to 'scripts/build/internals.sh')
-rw-r--r-- | scripts/build/internals.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/build/internals.sh b/scripts/build/internals.sh index e3682057..8cb3753a 100644 --- a/scripts/build/internals.sh +++ b/scripts/build/internals.sh @@ -22,6 +22,12 @@ do_finish() { esac CT_DoLog INFO "Stripping all toolchain executables" CT_Pushd "${CT_PREFIX_DIR}" + + # Strip gdbserver + if [ "${CT_GDB_GDBSERVER}" = "y" ]; then + CT_DoExecLog ALL bin/${CT_TARGET}-strip ${strip_args} \ + ${CT_TARGET}/debug-root/usr/bin/gdbserver + fi # We can not use the version in CT_CC_VERSION because # of the Linaro stuff. So, harvest the version string # directly from the gcc sources... |