From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28804 invoked by alias); 10 Jan 2010 16:55:49 -0000 Received: (qmail 28789 invoked by uid 22791); 10 Jan 2010 16:55:48 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from static-213.50.114.146.addr.tdcsong.se (HELO mail.icomera.com) (213.50.114.146) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 10 Jan 2010 16:55:45 +0000 Received: from [127.0.1.1] (80.229.223.150) by mail.icomera.com (192.168.64.17) with Microsoft SMTP Server (TLS) id 8.1.240.5; Sun, 10 Jan 2010 17:55:39 +0100 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [PATCH 1 of 1] arch/x86: fix x86 kernel arch X-Mercurial-Node: 3a92c1b8f3f5c0cbb927fed7918676790b1da825 Message-ID: <3a92c1b8f3f5c0cbb927.1263142518@richard-laptop> In-Reply-To: References: Date: Sun, 10 Jan 2010 16:55:00 -0000 From: Richard Strand To: "Yann E. MORIN" CC: crossgcc@sourceware.org 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: 2010-01/txt/msg00063.txt.bz2 # HG changeset patch # User Richard Strand # Date 1263142235 0 # Node ID 3a92c1b8f3f5c0cbb927fed7918676790b1da825 # Parent 5d693a13c84abf6a00275dfb1413834056e000c0 arch/x86: fix x86 kernel arch Fix the x86 CT_KERNEL_ARCH variable. Without this nptl and kernel compilation is broken when the CT_ARCH is x86. This fixes a regression caused by change 5d1936ad5ba8. Signed-off-by: Richard Strand diff -r 5d693a13c84a -r 3a92c1b8f3f5 scripts/build/arch/x86.sh --- a/scripts/build/arch/x86.sh Fri Jan 08 18:48:21 2010 +0000 +++ b/scripts/build/arch/x86.sh Sun Jan 10 16:50:35 2010 +0000 @@ -7,6 +7,7 @@ # Override the architecture part of the tuple: if [ "${CT_ARCH_64}" = "y" ]; then CT_TARGET_ARCH=x86_64 + CT_KERNEL_ARCH=x86_64 else arch="${CT_ARCH_ARCH}" [ -z "${arch}" ] && arch="${CT_ARCH_TUNE}" @@ -18,5 +19,6 @@ pentiumpro|pentium*|athlon*) CT_TARGET_ARCH=i686;; *) CT_TARGET_ARCH=i586;; esac + CT_KERNEL_ARCH=i386 fi } -- For unsubscribe information see http://sourceware.org/lists.html#faq