public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] scripts: strip gdbserver
@ 2012-09-12  9:57 Zhenqiang Chen
  2012-09-14 18:28 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Zhenqiang Chen @ 2012-09-12  9:57 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: crossgcc

exporting patch:
# HG changeset patch
# User Zhenqiang Chen <zhenqiang.chen@linaro.org>
# Date 1347442958 -28800
# Node ID 05cc064390d51c44d2c28509cccf96f726671b23
# Parent  ff167977b16313c705e71779aa71e4b4f9588d6a
scripts: strip gdbserver

Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>

diff -r ff167977b163 -r 05cc064390d5 scripts/build/internals.sh
--- a/scripts/build/internals.sh	Wed Aug 22 12:26:10 2012 -0700
+++ b/scripts/build/internals.sh	Wed Sep 12 17:42:38 2012 +0800
@@ -22,6 +22,12 @@
         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...

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-09-14 18:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-12  9:57 [PATCH] scripts: strip gdbserver Zhenqiang Chen
2012-09-14 18:28 ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).