From patchwork Tue Feb 25 18:09:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Woerner X-Patchwork-Id: 324054 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4E8EC2C0097 for ; Wed, 26 Feb 2014 05:09:37 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:content-type:mime-version :content-transfer-encoding:subject:message-id:date:from:to:cc; q=dns; s=default; b=I/bW1LVes6G5Dm+lIZl78hmzKcRCg1fydTpCQ3bswDp GY1EGwgcl5CTV/n79IWrl1jyjkAYeNwjO54U1KUEmVHHMeRwK5IwKS1z7JbT0GDI GrTYZZddXZTSdrrHL29/ROUtnHXX/BaC9Gr/FoOX6gvW9IYFCUtWDEvIy4mKuyug = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:content-type:mime-version :content-transfer-encoding:subject:message-id:date:from:to:cc; s=default; bh=9J3viNjpwKXwodHv03EXKN/daIc=; b=EX7Rt0KA90ULcwyB/ G7rrqSSi2LsKJywZ18KlHBcJWvk+pZR7SCb/c30HYI96Fyfukd3k7eMNIW871dBu w5EXaEAX5DAfFv/71n/GGtJvSBh2S8nxpJ1wuAZPEhLIBxIotD0PIfqlMpHjn69p 7wnirhJAr0JO/e2uCZUHgCoawE= Received: (qmail 19560 invoked by alias); 25 Feb 2014 18:09:29 -0000 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 Received: (qmail 19551 invoked by uid 89); 25 Feb 2014 18:09:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ig0-f180.google.com Received: from mail-ig0-f180.google.com (HELO mail-ig0-f180.google.com) (209.85.213.180) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 25 Feb 2014 18:09:28 +0000 Received: by mail-ig0-f180.google.com with SMTP id uq10so162648igb.1 for ; Tue, 25 Feb 2014 10:09:26 -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=rnd/w7+wnltDBdzlNPZw3wKMhrMIICJcwlrobUHwb+8=; b=k/cAFIzmibk22Hs00aJE6v2MwwFW4iQBPG3eoCrdobh8WoO1iZvbBVzcZNPILfgvZh sGvyj9OfMdXs4WoPHlmUmwYakgZQK2u2E1xFDfXONaJlKFvVjjkoHnKKl6Oa9tGWTJeG 2Hi589z5n2MZti/DML5XjaNsFGyoERbBlbWSaauu0E+Cy1cFz2uWrvLs5OHb6kzDDhJy Iix9Cb2PeHGdHqGE8glob++xYKz+MgX2aGvsPfWJZuEf7S7xQXF8kDuDxhVe2easC7E7 yrXeYFLZUxXZRAyqK+WWry2GzI0pD/Txs5w2Fv1ppziW3S31tnx3xrudH+AlhG+idRdv BOeg== X-Gm-Message-State: ALoCoQk8W1ALy+HxNRUQib6eWQI9V8H3NUK88rn+imTSYh4aRpDNLc5HxyLqIZBQnmWjPvAB/C1y X-Received: by 10.50.66.205 with SMTP id h13mr4890076igt.19.1393351766830; Tue, 25 Feb 2014 10:09:26 -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 y9sm39726629igl.7.2014.02.25.10.09.25 for (version=SSLv3 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Feb 2014 10:09:26 -0800 (PST) MIME-Version: 1.0 Subject: [PATCH] newlib: fix extract process for custom version X-Mercurial-Node: 3cb8019727c2b5af670146f118152a6b948d4bb6 Message-Id: <3cb8019727c2b5af6701.1393351759@openSUSE-i7> User-Agent: Mercurial-patchbomb/2.7.1 Date: Tue, 25 Feb 2014 13:09:19 -0500 From: Trevor Woerner To: "Yann E. MORIN" Cc: crossgcc@sourceware.org X-IsSubscribed: yes # HG changeset patch # User Trevor Woerner # Date 1393351239 18000 # Tue Feb 25 13:00:39 2014 -0500 # Node ID 3cb8019727c2b5af670146f118152a6b948d4bb6 # 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. --- For unsubscribe information see http://sourceware.org/lists.html#faq diff -r 9321d9d7af9b -r 3cb8019727c2 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:00:39 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