From patchwork Tue Sep 18 06:24:07 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: scripts: Skip gdbserver stripping for Canadian build Date: Mon, 17 Sep 2012 20:24:07 -0000 From: Zhenqiang Chen X-Patchwork-Id: 184621 Message-Id: To: "Yann E. MORIN" Cc: crossgcc@sourceware.org exporting patch: # HG changeset patch # User Zhenqiang Chen # 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 --- For unsubscribe information see http://sourceware.org/lists.html#faq 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