From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 861AF138334 for ; Wed, 24 Apr 2019 22:39:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 940F4E08CA; Wed, 24 Apr 2019 22:39:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7880FE08CA for ; Wed, 24 Apr 2019 22:39:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ECFE2342599 for ; Wed, 24 Apr 2019 22:39:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6B1B4567 for ; Wed, 24 Apr 2019 22:39:16 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1556145543.cfc08db3e0c5bf8c163b843e8b48e3774e4f2582.mattst88@gentoo> Subject: [gentoo-commits] proj/catalyst:master commit in: catalyst/arch/ X-VCS-Repository: proj/catalyst X-VCS-Files: catalyst/arch/riscv.py X-VCS-Directories: catalyst/arch/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: cfc08db3e0c5bf8c163b843e8b48e3774e4f2582 X-VCS-Branch: master Date: Wed, 24 Apr 2019 22:39:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 54b668f0-128d-4417-98a6-ec612ac2cdd4 X-Archives-Hash: 265b92e032d4d7e2233bf0f163b48563 commit: cfc08db3e0c5bf8c163b843e8b48e3774e4f2582 Author: Andreas K. Hüttel gentoo org> AuthorDate: Wed Apr 24 22:34:02 2019 +0000 Commit: Matt Turner gentoo org> CommitDate: Wed Apr 24 22:39:03 2019 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=cfc08db3 Add builder for riscv64-unknown-linux-gnu Signed-off-by: Andreas K. Hüttel gentoo.org> Signed-off-by: Matt Turner gentoo.org> catalyst/arch/riscv.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/catalyst/arch/riscv.py b/catalyst/arch/riscv.py new file mode 100644 index 00000000..6f5695f9 --- /dev/null +++ b/catalyst/arch/riscv.py @@ -0,0 +1,13 @@ + +from catalyst import builder + +class arch_riscv(builder.generic): + "builder class for riscv" + def __init__(self,myspec): + builder.generic.__init__(self,myspec) + self.settings["COMMON_FLAGS"]="-O2 -pipe" + self.settings["CHOST"]="riscv64-unknown-linux-gnu" + +def register(): + "Inform main catalyst program of the contents of this plugin." + return ({ "riscv":arch_riscv }, ("rv64","riscv64","riscv"))