From patchwork Wed Dec 23 16:43:51 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve Ellcey X-Patchwork-Id: 560631 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id AD02E140C05 for ; Thu, 24 Dec 2015 03:44:09 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 12439A5DC4; Wed, 23 Dec 2015 16:44:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lTKvCCipbxqv; Wed, 23 Dec 2015 16:44:06 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7A553A5DAB; Wed, 23 Dec 2015 16:44:06 +0000 (UTC) X-Original-To: uclibc@lists.busybox.net Delivered-To: uclibc@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 35D5F1C1029 for ; Wed, 23 Dec 2015 16:44:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 306F49274C for ; Wed, 23 Dec 2015 16:44:05 +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 KpNI7QERxI22 for ; Wed, 23 Dec 2015 16:44:04 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailapp01.imgtec.com (mailapp01.imgtec.com [195.59.15.196]) by whitealder.osuosl.org (Postfix) with ESMTP id 855BF8C1C1 for ; Wed, 23 Dec 2015 16:44:04 +0000 (UTC) Received: from HHMAIL01.hh.imgtec.org (unknown [10.100.10.19]) by Websense Email Security Gateway with ESMTPS id 9A168D1D840DA for ; Wed, 23 Dec 2015 16:44:00 +0000 (GMT) Received: from BAMAIL02.ba.imgtec.org (10.20.40.28) by HHMAIL01.hh.imgtec.org (10.100.10.19) with Microsoft SMTP Server (TLS) id 14.3.235.1; Wed, 23 Dec 2015 16:44:03 +0000 Received: from ubuntu-sellcey.mips.com (10.20.3.214) by bamail02.ba.imgtec.org (10.20.40.28) with Microsoft SMTP Server id 14.3.174.1; Wed, 23 Dec 2015 08:44:00 -0800 Received: by ubuntu-sellcey.mips.com (sSMTP sendmail emulation); Wed, 23 Dec 2015 08:43:59 -0800 From: Steve Ellcey To: Subject: [PATCH] Enable mips32r6 and mips64r6 builds. Date: Wed, 23 Dec 2015 08:43:51 -0800 Message-ID: <1450889031-27668-1-git-send-email-sellcey@imgtec.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Cc: Steve Ellcey X-BeenThere: uclibc@uclibc.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion and development of uClibc \(the embedded C library\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: uclibc-bounces@uclibc.org Sender: "uClibc" This patch adds mips32r6 and mips64r6 architecture options to the MIPS build. Signed-off-by: Steve Ellcey --- Rules.mak | 2 ++ extra/Configs/Config.mips | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/Rules.mak b/Rules.mak index de9ffb3..5544249 100644 --- a/Rules.mak +++ b/Rules.mak @@ -414,8 +414,10 @@ ifeq ($(TARGET_ARCH),mips) CPU_CFLAGS-$(CONFIG_MIPS_ISA_4)+=-mips4 -mtune=mips4 CPU_CFLAGS-$(CONFIG_MIPS_ISA_MIPS32)+=-mips32 -mtune=mips32 CPU_CFLAGS-$(CONFIG_MIPS_ISA_MIPS32R2)+=-march=mips32r2 -mtune=mips32r2 + CPU_CFLAGS-$(CONFIG_MIPS_ISA_MIPS32R6)+=-march=mips32r6 -mtune=mips32r6 CPU_CFLAGS-$(CONFIG_MIPS_ISA_MIPS64)+=-mips64 -mtune=mips32 CPU_CFLAGS-$(CONFIG_MIPS_ISA_MIPS64R2)+=-mips64r2 -mtune=mips64r2 + CPU_CFLAGS-$(CONFIG_MIPS_ISA_MIPS64R6)+=-mips64r6 -mtune=mips64r6 CPU_CFLAGS-$(CONFIG_MIPS_N64_ABI)+=-mabi=64 CPU_CFLAGS-$(CONFIG_MIPS_O32_ABI)+=-mabi=32 CPU_CFLAGS-$(CONFIG_MIPS_N32_ABI)+=-mabi=n32 diff --git a/extra/Configs/Config.mips b/extra/Configs/Config.mips index 76b10c6..a1fcec2 100644 --- a/extra/Configs/Config.mips +++ b/extra/Configs/Config.mips @@ -48,6 +48,21 @@ config CONFIG_MIPS_NAN_2008 endchoice choice + prompt "Target NAN Encoding" + default CONFIG_MIPS_NAN_LEGACY + help + This is the NAN Encoding you want to use. Chose either Legacy + or 2008. + +config CONFIG_MIPS_NAN_LEGACY + bool "LEGACY" + +config CONFIG_MIPS_NAN_2008 + bool "2008" + +endchoice + +choice prompt "Target Processor Architecture" default CONFIG_MIPS_ISA_1 if CONFIG_MIPS_O32_ABI default CONFIG_MIPS_ISA_3 if CONFIG_MIPS_N32_ABI @@ -84,10 +99,16 @@ config CONFIG_MIPS_ISA_MIPS32 config CONFIG_MIPS_ISA_MIPS32R2 bool "MIPS32r2" +config CONFIG_MIPS_ISA_MIPS32R6 + bool "MIPS32r6" + config CONFIG_MIPS_ISA_MIPS64 bool "MIPS64" config CONFIG_MIPS_ISA_MIPS64R2 bool "MIPS64r2" +config CONFIG_MIPS_ISA_MIPS64R6 + bool "MIPS64r6" + endchoice