From patchwork Wed Sep 19 05:48:57 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhenqiang Chen X-Patchwork-Id: 184937 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id CF8962C0084 for ; Wed, 19 Sep 2012 15:49:24 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sourceware.org; s=default; x=1348638565; h=Comment: DomainKey-Signature:Received:Received:Received:Received: MIME-Version:Received:Received:Date:Message-ID:Subject:From:To: Cc:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Subscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=Aex37W83YXy/OwX6It2ZCP9fSwk=; b=X/1xjpXzhIJea0F VvVIU69Yul0dLptvcS/h1WM/U7bDDuf/SBbDjMH34yJqQ/iN5FjcqOmuQiGaZ86f 5FrAO2e3+CNXFQOtgAhwFI+fawfy5GRvK+Xh/qCuXwCaE77/WBevX4vEVhBjMNx3 0oOYikGtABLfqOk1I2h4DWKPxji4= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=sourceware.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:X-Google-DKIM-Signature:MIME-Version:Received:Received:Date:Message-ID:Subject:From:To:Cc:Content-Type:X-Gm-Message-State:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Subscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=bi4hqgZLHjnTzfSjW+u0ufezZoSRm0+KMfuOb5gSDMt/Gm4BSzHGQpzfTlqX4k dJwnnolX3LZKnHtvclxy2XeJfWQ7ei8e3WSbJqcgWPfkMNsXrO0AApWFOhNkm7xI QfD4ehKq2w2lbgzznhKArcrf0UNny3EnUbNOcFlPzeRBc=; Received: (qmail 730 invoked by alias); 19 Sep 2012 05:49:15 -0000 Received: (qmail 717 invoked by uid 22791); 19 Sep 2012 05:49:11 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-vc0-f169.google.com (HELO mail-vc0-f169.google.com) (209.85.220.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 19 Sep 2012 05:48:58 +0000 Received: by vcbfl17 with SMTP id fl17so785507vcb.0 for ; Tue, 18 Sep 2012 22:48:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=EmedbmKq99WuzpssmJ1p+b5sbrNOy9KC6ipYtu9e8wk=; b=IjMhD9gg97nkrQutGJHRc79Ikgf1iFmgo2NXMcUjtmaB2itfTyWlQjnGxCCiSHKK6C O5xNwxWNU1wkJU1PFu1OE3mJH94rjApBOAYjkwSVprrGErswVDWYM4tDRiPBia1yHtLD J7gWO/aTcLlmasrd8/YhCivzOl57D953UwtOIavhKU1ltk0faVlrboMCm3Nrg0uOVXEa qmVVcSaYVe4j9vWNz1ve87OnCdP7qyjXlc9NLVePiEZRBlSWc9iHjxRFuyXUbHklzO9k ZtPLi1dVO0hSeNY/HxWpuDyREaQW/q7jfCq3CGmQRsrR6wGmuIK2tzMZFf304Xwt5MSZ /ctg== MIME-Version: 1.0 Received: by 10.58.74.196 with SMTP id w4mr1436514vev.7.1348033737869; Tue, 18 Sep 2012 22:48:57 -0700 (PDT) Received: by 10.58.133.161 with HTTP; Tue, 18 Sep 2012 22:48:57 -0700 (PDT) Date: Wed, 19 Sep 2012 13:48:57 +0800 Message-ID: Subject: [PATCH] scripts: Select the correct "strip" to strip gdbserver for Canadian build From: Zhenqiang Chen To: "Yann E. MORIN" Cc: crossgcc@sourceware.org X-Gm-Message-State: ALoCoQnI967XbKAAp8wZv8lQNh7+zYhOqCbw5JUTcjneghQRmfcXsx9vCzLK6DJFnuRElTPXCWTL X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org exporting patch: # HG changeset patch # User Zhenqiang Chen # Date 1348031492 -28800 # Node ID bb161ecc8ecb451225697ad0f6729376eb3e43f3 # Parent 2858a24a584642e263a920b4214c815c172ed547 scripts: Select the correct "strip" to strip gdbserver for Canadian build. For Canadian build, we can not run the bin/${CT_TARGET}-strip on the build system. But ${CT_TARGET}-strip should be on PATH. Signed-off-by: Zhenqiang Chen --- For unsubscribe information see http://sourceware.org/lists.html#faq diff -r 2858a24a5846 -r bb161ecc8ecb scripts/build/internals.sh --- a/scripts/build/internals.sh Sun Aug 12 07:45:42 2012 -0400 +++ b/scripts/build/internals.sh Wed Sep 19 13:11:32 2012 +0800 @@ -25,8 +25,15 @@ # Strip gdbserver if [ "${CT_GDB_GDBSERVER}" = "y" ]; then - CT_DoExecLog ALL bin/${CT_TARGET}-strip ${strip_args} \ - ${CT_TARGET}/debug-root/usr/bin/gdbserver + # For Canadian build, we can not run the bin/${CT_TARGET}-strip on + # the build system. But ${CT_TARGET}-strip should be on PATH. + if [ "${CT_CANADIAN}" = "y" ]; then + CT_DoExecLog ALL ${CT_TARGET}-strip ${strip_args} \ + ${CT_TARGET}/debug-root/usr/bin/gdbserver + else + 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