From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 05:49:00 -0000 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 Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQnI967XbKAAp8wZv8lQNh7+zYhOqCbw5JUTcjneghQRmfcXsx9vCzLK6DJFnuRElTPXCWTL X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2012-09/txt/msg00049.txt.bz2 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 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 -- For unsubscribe information see http://sourceware.org/lists.html#faq