From patchwork Tue Feb 25 18:35:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Woerner X-Patchwork-Id: 25304 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f198.google.com (mail-ob0-f198.google.com [209.85.214.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1BDCB20143 for ; Tue, 25 Feb 2014 18:35:56 +0000 (UTC) Received: by mail-ob0-f198.google.com with SMTP id vb8sf36418064obc.5 for ; Tue, 25 Feb 2014 10:35:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:mime-version:subject:message-id :user-agent:date:from:to:cc:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe:content-type :content-transfer-encoding; bh=DdD/OViBMeKWcCiNwBrvKU0vASNE4ZH97UpRgUFTusM=; b=d9Acpi2alkKrEUapeSyWb6z6l3+eKSfQt+CB48n6SwYIC4Lstizwtwt9Dl0cz7ZWSh sfuE9CE2AfIeV4naYGR02CeelyIxKupY5EaRbc2S1SnZPtH9Tz6xD/BFAD1Vw4tsnJk2 +33EVGur2eqXrif/huaDiLlPBBfWAVaRm9jnSS14T7cuKTMgFMno+2OYPP2XzJlk8XXs ofYRbdfouKmp5gJY/PjDh4vN9v4o83S0JMLw5+aBbEzp2CeaiDQgSwHNafFeQk4r9yi3 vjCrt8SF2sZqeaDtvxJQ8afq9dILIZwsuHrOzPLbys0WAthXZuoRZdF2xFHPjul3OG6A AnRw== X-Gm-Message-State: ALoCoQltO1jkqS1bh+gErB3VL8nN2OF3o+H4L+nfcrE/CG9NkVUWYmXRBmBoHw6d6XR9x/uci5nk X-Received: by 10.42.107.67 with SMTP id c3mr553672icp.0.1393353355592; Tue, 25 Feb 2014 10:35:55 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.82.148 with SMTP id h20ls2447987qgd.36.gmail; Tue, 25 Feb 2014 10:35:55 -0800 (PST) X-Received: by 10.52.243.102 with SMTP id wx6mr1777190vdc.12.1393353355400; Tue, 25 Feb 2014 10:35:55 -0800 (PST) Received: from mail-ve0-f180.google.com (mail-ve0-f180.google.com [209.85.128.180]) by mx.google.com with ESMTPS id ls10si7047639vec.19.2014.02.25.10.35.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Feb 2014 10:35:55 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.180 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.180; Received: by mail-ve0-f180.google.com with SMTP id jz11so888561veb.25 for ; Tue, 25 Feb 2014 10:35:55 -0800 (PST) X-Received: by 10.58.94.195 with SMTP id de3mr93940veb.39.1393353355298; Tue, 25 Feb 2014 10:35:55 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp159505vcz; Tue, 25 Feb 2014 10:35:55 -0800 (PST) X-Received: by 10.50.11.36 with SMTP id n4mr21520175igb.3.1393353354848; Tue, 25 Feb 2014 10:35:54 -0800 (PST) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx.google.com with ESMTPS id jv2si24656669icc.154.2014.02.25.10.35.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Feb 2014 10:35:54 -0800 (PST) Received-SPF: neutral (google.com: 209.85.223.182 is neither permitted nor denied by best guess record for domain of trevor.woerner@linaro.org) client-ip=209.85.223.182; Received: by mail-ie0-f182.google.com with SMTP id tp5so713495ieb.27 for ; Tue, 25 Feb 2014 10:35:54 -0800 (PST) X-Received: by 10.43.146.69 with SMTP id jx5mr1431456icc.42.1393353354109; Tue, 25 Feb 2014 10:35:54 -0800 (PST) Received: from [127.0.0.1] (69-165-220-158.dsl.teksavvy.com. [69.165.220.158]) by mx.google.com with ESMTPSA id pn6sm39960152igb.4.2014.02.25.10.35.53 for (version=SSLv3 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Feb 2014 10:35:53 -0800 (PST) MIME-Version: 1.0 Subject: [PATCH] newlib: fix extract process for custom version X-Mercurial-Node: c727adf1b7bd2c1e891db512871dbe7b26797fa6 Message-Id: User-Agent: Mercurial-patchbomb/2.7.1 Date: Tue, 25 Feb 2014 13:35:47 -0500 From: Trevor Woerner To: "Yann E. MORIN" Cc: crossgcc@sourceware.org, patches@linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: trevor.woerner@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.180 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , # HG changeset patch # User Trevor Woerner # Date 1393353288 18000 # Tue Feb 25 13:34:48 2014 -0500 # Node ID c727adf1b7bd2c1e891db512871dbe7b26797fa6 # Parent 9321d9d7af9bd605eec2811b6703392331db3469 newlib: fix extract process for custom version If the user specifies the use of a custom newlib version, the logic in the extract function was reversed, so this step would fail. Signed-off-by: Trevor Woerner diff -r 9321d9d7af9b -r c727adf1b7bd scripts/build/libc/newlib.sh --- a/scripts/build/libc/newlib.sh Thu Feb 20 18:23:08 2014 +0000 +++ b/scripts/build/libc/newlib.sh Tue Feb 25 13:34:48 2014 -0500 @@ -29,7 +29,7 @@ do_libc_extract() { # If using custom directory location, nothing to do - if [ "${CT_LIBC_NEWLIB_CUSTOM}" != "y" \ + if [ "${CT_LIBC_NEWLIB_CUSTOM}" = "y" \ -a -d "${CT_SRC_DIR}/newlib-${CT_LIBC_VERSION}" ]; then return 0 fi