scripts: strip gdbserver
authorZhenqiang Chen <zhenqiang.chen@linaro.org>
Wed Sep 12 17:42:38 2012 +0800 (2012-09-12)
changeset 3044c79d55b27724
parent 3043 ff167977b163
child 3047 6d88d6558b7a
scripts: strip gdbserver

Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
scripts/build/internals.sh
     1.1 --- a/scripts/build/internals.sh	Wed Aug 22 12:26:10 2012 -0700
     1.2 +++ b/scripts/build/internals.sh	Wed Sep 12 17:42:38 2012 +0800
     1.3 @@ -22,6 +22,12 @@
     1.4          esac
     1.5          CT_DoLog INFO "Stripping all toolchain executables"
     1.6          CT_Pushd "${CT_PREFIX_DIR}"
     1.7 +
     1.8 +        # Strip gdbserver
     1.9 +        if [ "${CT_GDB_GDBSERVER}" = "y" ]; then
    1.10 +           CT_DoExecLog ALL bin/${CT_TARGET}-strip ${strip_args}    \
    1.11 +                            ${CT_TARGET}/debug-root/usr/bin/gdbserver
    1.12 +        fi
    1.13          # We can not use the version in CT_CC_VERSION because
    1.14          # of the Linaro stuff. So, harvest the version string
    1.15          # directly from the gcc sources...