From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16610 invoked by alias); 25 Feb 2014 18:36:00 -0000 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 Received: (qmail 16600 invoked by uid 89); 25 Feb 2014 18:35:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ig0-f174.google.com Received: from mail-ig0-f174.google.com (HELO mail-ig0-f174.google.com) (209.85.213.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 25 Feb 2014 18:35:56 +0000 Received: by mail-ig0-f174.google.com with SMTP id y6so8072810igj.1 for ; Tue, 25 Feb 2014 10:35:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version :content-transfer-encoding:subject:message-id:user-agent:date:from :to:cc; bh=DdD/OViBMeKWcCiNwBrvKU0vASNE4ZH97UpRgUFTusM=; b=huBAB9QfKBkA1Y+152hDxKC+jA/UTrJDsixGyyti908rm9uVVL7m6VJDohSHar8MwB 5OUM66+nVX5kM8FvjNGZacL7rvkkb1m7A4k0rOzc7JjhN2kijIY3Zv6fzqKO0IeGhNAP zytrQFSAlp5qSPEuI68+N4vvKJi0MYLmyS3LjIUqUHFeMI0y1aY/ohjcCkzTzXLhWucU SNOZkGt0xrojeo4xkF4Yuny8kGMplEHfsF/X4EjzGlP13c+Q2vGE0jYM09Q0r4K/YIQ7 6ssaslMVZ2cBd7zmQoi6x64xCu9fPxgFJkBRKFaP8cWiGSPmRx3VXTHiGLuzxbWaEivE tBsg== X-Gm-Message-State: ALoCoQnjKtfoNkQCI1Df8ktSZECoB1gbr3UI1ORlj7KwotNGM6RV/OMLIlsvjxEUnpddUObFTjN3 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) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 18:36:00 -0000 From: Trevor Woerner To: "Yann E. MORIN" Cc: crossgcc@sourceware.org, patches@linaro.org X-IsSubscribed: yes X-SW-Source: 2014-02/txt/msg00064.txt.bz2 # 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 -- For unsubscribe information see http://sourceware.org/lists.html#faq