From patchwork Wed Sep 26 07:12:41 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Esben Haabendal X-Patchwork-Id: 186976 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]) by ozlabs.org (Postfix) with SMTP id D92822C0090 for ; Wed, 26 Sep 2012 17:13:06 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sourceware.org; s=default; x=1349248387; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Received:From:To:CC:Subject:User-Agent:Date:Message-ID: MIME-Version:Content-Type:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Subscribe:List-Archive:List-Post:List-Help: Sender:Delivered-To; bh=GM4Rot3sqHvfOuy/yTIKfeMz6ko=; b=bhs+jkX4 j6SsC4aCWL6QyXWDdpT+rT54BR/TgjGZG7c0ATKrjy6CRZWvkWiVQy4I//VMEFDH UKkOjN7xzSyOqukPyaScZl082Jf4/4nj+GVZ3qzzV0EpJ9kA0sEEHieaZoq5AuDf rCnz4er6R4Qlas//5MpimLIrXTtljsvZZls= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=sourceware.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Received:Received:From:To:CC:Subject:User-Agent:Date:Message-ID:MIME-Version:Content-Type:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Subscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=VKIVynSGyVVHJBs/32HWmbhZxPZV6w5Lsl7e+SEJYXQcLMVDr7wgBUm8Wq4um8 2uXQFMDEogxSCAdiXu+6t39EMat5h0f6iR0f9CE1BGDgI/xw8VqDAmUVcQE3NLqM dnqYYo35KRPKd5ohXeY0TvH6AbJHB+WBau7P6+lmDquoA=; Received: (qmail 19008 invoked by alias); 26 Sep 2012 07:12:59 -0000 Received: (qmail 18997 invoked by uid 22791); 26 Sep 2012 07:12:58 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, T_DKIM_INVALID X-Spam-Check-By: sourceware.org Received: from mail02.prevas.se (HELO mail02.prevas.se) (62.95.78.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 26 Sep 2012 07:12:43 +0000 Received: from vmprevas3.prevas.se (HELO smtp.prevas.se) ([172.16.8.103]) by ironport2.prevas.se with ESMTP/TLS/AES128-SHA; 26 Sep 2012 09:12:42 +0200 Received: from dev.prevas.dk (172.16.10.60) by smtp.prevas.se (172.16.8.105) with Microsoft SMTP Server (TLS) id 14.2.318.1; Wed, 26 Sep 2012 09:12:41 +0200 Received: from arh128 (0x55532124.adsl.cybercity.dk [85.83.33.36]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: eha) by dev.prevas.dk (Postfix) with ESMTPSA id BB96480178; Wed, 26 Sep 2012 09:12:41 +0200 (CEST) Received: by arh128 (Postfix, from userid 1000) id 14BC285640; Wed, 26 Sep 2012 09:12:41 +0200 (CEST) From: Esben Haabendal To: "Yann E. MORIN" CC: Subject: [PATCH] kernel/linux: change m68k/no-mmu linux arch tuple to use -uclinux User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) Date: Wed, 26 Sep 2012 09:12:41 +0200 Message-ID: <876271s1ee.fsf@arh128.prevas.dk> MIME-Version: 1.0 X-IsSubscribed: yes 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 # HG changeset patch # User Esben Haabendal # Date 1348643363 -7200 # Node ID b13cbdc17249ab85e88e16918dc951d396b59060 # Parent f36c207348efc55653a037a7e17654c4ff388b86 kernel/linux: change m68k/no-mmu linux arch tuple to use -uclinux GCC requires m68k arch tuples to be *-*-uclinux-* to support Linux on no-mmu m68k (ColdFire) cpus. Blackfin arch tuple must be *-*-linux-uclibc for FD_PIC_ELF toolchains, so we cannot just switch to uclinux for no-mmu Linux toolchains. Signed-off-by: "Esben Haabendal" --- For unsubscribe information see http://sourceware.org/lists.html#faq diff -r f36c207348ef -r b13cbdc17249 scripts/build/kernel/linux.sh --- a/scripts/build/kernel/linux.sh Thu Sep 20 11:20:16 2012 +0800 +++ b/scripts/build/kernel/linux.sh Wed Sep 26 09:09:23 2012 +0200 @@ -6,12 +6,14 @@ if [ "${CT_ARCH_USE_MMU}" = "y" ]; then CT_TARGET_KERNEL="linux" else - # Sometime, noMMU linux targets have a -uclinux tuple, while - # sometime it's -linux. We currently have only one noMMU linux - # target, and it uses -linux, so let's just use that. Time - # to fix that later... - # CT_TARGET_KERNEL="uclinux" - CT_TARGET_KERNEL="linux" + # Some no-mmu linux targets requires a -uclinux tuple (like m68k/cf), + # while others must have a -linux tuple (like bfin). Other targets + # should be added here when someone starts to care about them. + case "${CT_ARCH}" in + blackfin) CT_TARGET_KERNEL="linux" ;; + m68k) CT_TARGET_KERNEL="uclinux" ;; + *) CT_Abort "Unsupported no-mmu arch '${CT_ARCH}'" + esac fi }