From 649c04594ade8fddca88c084fc0aa4a4f9cdad33 Mon Sep 17 00:00:00 2001 From: Zhenqiang Chen Date: Wed, 12 Sep 2012 17:42:38 +0800 Subject: scripts: strip gdbserver Signed-off-by: Zhenqiang Chen diff --git a/scripts/build/internals.sh b/scripts/build/internals.sh index e368205..8cb3753 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... -- cgit v0.10.2-6-g49f6