public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] scripts: Skip gdbserver stripping for Canadian build
@ 2012-09-18  6:24 Zhenqiang Chen
  2012-09-18  6:44 ` Mike Frysinger
  0 siblings, 1 reply; 3+ messages in thread
From: Zhenqiang Chen @ 2012-09-18  6:24 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: crossgcc

exporting patch:
# HG changeset patch
# User Zhenqiang Chen <zhenqiang.chen@linaro.org>
# Date 1347948509 -28800
# Node ID 2f8f068268ebf8ea9a6e1470017e556e71251cf7
# Parent  fbfb29e9e1bff98b7302fbaf67b296d94f082c18
scripts: Skip gdbserver stripping for Canadian build.

For Canadian build, we can not run the bin/${CT_TARGET}-strip on
the build system.

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

diff -r fbfb29e9e1bf -r 2f8f068268eb scripts/build/internals.sh
--- a/scripts/build/internals.sh        Tue Sep 18 13:26:18 2012 +0800
+++ b/scripts/build/internals.sh        Tue Sep 18 14:08:29 2012 +0800
@@ -25,8 +25,12 @@

         # Strip gdbserver
         if [ "${CT_GDB_GDBSERVER}" = "y" ]; then
-           CT_DoExecLog ALL bin/${CT_TARGET}-strip ${strip_args}    \
-                            ${CT_TARGET}/debug-root/usr/bin/gdbserver
+           # Skip for Canadian build, since we can not run the
+           # bin/${CT_TARGET}-strip on the build system.
+           if [ "${CT_CANADIAN}" != "y" ]; then
+               CT_DoExecLog ALL bin/${CT_TARGET}-strip ${strip_args}    \
+                                ${CT_TARGET}/debug-root/usr/bin/gdbserver
+           fi
         fi
         # We can not use the version in CT_CC_VERSION because
         # of the Linaro stuff. So, harvest the version string

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

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

* Re: [PATCH] scripts: Skip gdbserver stripping for Canadian build
  2012-09-18  6:24 [PATCH] scripts: Skip gdbserver stripping for Canadian build Zhenqiang Chen
@ 2012-09-18  6:44 ` Mike Frysinger
  2012-09-18  8:56   ` Zhenqiang Chen
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Frysinger @ 2012-09-18  6:44 UTC (permalink / raw)
  To: crossgcc; +Cc: Zhenqiang Chen, Yann E. MORIN

[-- Attachment #1: Type: Text/Plain, Size: 305 bytes --]

On Tuesday 18 September 2012 02:24:07 Zhenqiang Chen wrote:
> For Canadian build, we can not run the bin/${CT_TARGET}-strip on
> the build system.

in order to do a canadian build, you've got to have a proper strip somewhere 
which can process target code.  so why not execute that instead ?
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: [PATCH] scripts: Skip gdbserver stripping for Canadian build
  2012-09-18  6:44 ` Mike Frysinger
@ 2012-09-18  8:56   ` Zhenqiang Chen
  0 siblings, 0 replies; 3+ messages in thread
From: Zhenqiang Chen @ 2012-09-18  8:56 UTC (permalink / raw)
  To: Mike Frysinger; +Cc: crossgcc, Yann E. MORIN

On 18 September 2012 14:44, Mike Frysinger <vapier@gentoo.org> wrote:
> On Tuesday 18 September 2012 02:24:07 Zhenqiang Chen wrote:
>> For Canadian build, we can not run the bin/${CT_TARGET}-strip on
>> the build system.
>
> in order to do a canadian build, you've got to have a proper strip somewhere
> which can process target code.  so why not execute that instead ?

Thanks for the comments. I will update it.

-Zhenqiang

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

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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-18  6:24 [PATCH] scripts: Skip gdbserver stripping for Canadian build Zhenqiang Chen
2012-09-18  6:44 ` Mike Frysinger
2012-09-18  8:56   ` Zhenqiang Chen

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).