From patchwork Mon Apr 22 11:37:25 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mischa Jonker X-Patchwork-Id: 238472 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 0CAC72C0125 for ; Mon, 22 Apr 2013 21:39:02 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id D7AB1317F3; Mon, 22 Apr 2013 11:39:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id scQyc4bSzCM3; Mon, 22 Apr 2013 11:38:53 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 5C1ED31801; Mon, 22 Apr 2013 11:38:51 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 291928F7A0 for ; Mon, 22 Apr 2013 11:38:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 318808BF38 for ; Mon, 22 Apr 2013 11:38:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XznmBJrTw9BW for ; Mon, 22 Apr 2013 11:38:53 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from alvesta.synopsys.com (us02smtp2.synopsys.com [198.182.60.77]) by whitealder.osuosl.org (Postfix) with ESMTP id B5D9880819 for ; Mon, 22 Apr 2013 11:38:53 +0000 (UTC) Received: from mailhost.synopsys.com (mailhost3.synopsys.com [10.12.238.238]) by alvesta.synopsys.com (Postfix) with ESMTP id B89FD101D5 for ; Mon, 22 Apr 2013 04:38:44 -0700 (PDT) Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id AA713DFE; Mon, 22 Apr 2013 04:38:44 -0700 (PDT) Received: from localhost.localdomain (nl-droid1.internal.synopsys.com [10.100.24.228]) by mailhost.synopsys.com (Postfix) with ESMTP id E17FDDE8; Mon, 22 Apr 2013 04:38:43 -0700 (PDT) From: Mischa Jonker To: buildroot@busybox.net Date: Mon, 22 Apr 2013 13:37:25 +0200 Message-Id: <1366630651-6857-2-git-send-email-mjonker@synopsys.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1366630651-6857-1-git-send-email-mjonker@synopsys.com> References: <1366630651-6857-1-git-send-email-mjonker@synopsys.com> Cc: Mischa Jonker Subject: [Buildroot] [PATCH 1/7] arc: Add ARC and ARC BE architecture X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Synopsys' DesignWare ARC Processor Cores are a family of 32-bit CPUs that can be used from deeply embedded to high performance host applications. Signed-off-by: Mischa Jonker Reviewed-by: Thomas Petazzoni --- arch/Config.in | 18 ++++++++++++++++++ arch/Config.in.arc | 10 ++++++++++ 2 files changed, 28 insertions(+), 0 deletions(-) create mode 100644 arch/Config.in.arc diff --git a/arch/Config.in b/arch/Config.in index 795f24f..46edbab 100644 --- a/arch/Config.in +++ b/arch/Config.in @@ -7,6 +7,20 @@ choice help Select the target architecture family to build for. +config BR2_arc + bool "ARC (little endian)" + help + Synopsys' DesignWare ARC Processor Cores are a family of 32-bit CPUs + that can be used from deeply embedded to high performance host + applications. Little endian. + +config BR2_arceb + bool "ARC (big endian)" + help + Synopsys' DesignWare ARC Processor Cores are a family of 32-bit CPUs + that can be used from deeply embedded to high performance host + applications. Big endian. + config BR2_arm bool "ARM (little endian)" help @@ -175,6 +189,10 @@ config BR2_GCC_TARGET_ABI config BR2_GCC_TARGET_CPU string +if BR2_arc || BR2_arceb +source "arch/Config.in.arc" +endif + if BR2_arm || BR2_armeb source "arch/Config.in.arm" endif diff --git a/arch/Config.in.arc b/arch/Config.in.arc new file mode 100644 index 0000000..80b2dc4 --- /dev/null +++ b/arch/Config.in.arc @@ -0,0 +1,10 @@ +config BR2_ARCH + default "arc" if BR2_arc + default "arceb" if BR2_arceb + +config BR2_ENDIAN + default "LITTLE" if BR2_arc + default "BIG" if BR2_arceb + +config BR2_GCC_TARGET_CPU + default "arc700"