scripts/build/internals.sh
changeset 3055 00ad3bbbf024
parent 2550 1ebc2248cc60
child 3062 f36c207348ef
     1.1 --- a/scripts/build/internals.sh	Tue Jul 12 23:52:24 2011 +0200
     1.2 +++ b/scripts/build/internals.sh	Fri Sep 21 16:14:50 2012 +0200
     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...