This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] scripts: Skip gdbserver stripping for Canadian build


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]