scripts: strip gdbserver

Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
This commit is contained in:
Zhenqiang Chen 2012-09-12 17:42:38 +08:00
parent 8c43cdb436
commit 649c04594a

View File

@ -22,6 +22,12 @@ do_finish() {
esac esac
CT_DoLog INFO "Stripping all toolchain executables" CT_DoLog INFO "Stripping all toolchain executables"
CT_Pushd "${CT_PREFIX_DIR}" 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 # We can not use the version in CT_CC_VERSION because
# of the Linaro stuff. So, harvest the version string # of the Linaro stuff. So, harvest the version string
# directly from the gcc sources... # directly from the gcc sources...