scripts: Use ${CT_TARGET}-strip to strip gdbserver

Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
[yann.morin.1998@free.fr: quote variables]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <CACgzC7BU9CPZ2cE+EYqnMe2WNz-wYby6f4tsmjJi715WmPmbWw@mail.gmail.com>
PatchWork-Id: 185303
This commit is contained in:
Zhenqiang Chen 2012-09-20 11:20:16 +08:00
parent 8ab3a18e21
commit fd26fc9b1d

View File

@ -25,8 +25,8 @@ do_finish() {
# Strip gdbserver
if [ "${CT_GDB_GDBSERVER}" = "y" ]; then
CT_DoExecLog ALL bin/${CT_TARGET}-strip ${strip_args} \
${CT_TARGET}/debug-root/usr/bin/gdbserver
CT_DoExecLog ALL "${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