public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/catalyst:catalyst-3.0-stable commit in: catalyst/arch/
@ 2020-09-17 21:03 Andreas K. Hüttel
  2020-09-17 21:13 ` [gentoo-commits] proj/catalyst:dilfridge/image " Andreas K. Hüttel
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas K. Hüttel @ 2020-09-17 21:03 UTC (permalink / raw
  To: gentoo-commits

commit:     ff88ce93296fc216eded48e4b26a1354380e3d60
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 11 19:04:38 2020 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Sep 11 19:04:38 2020 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=ff88ce93

Add rv32 subarch names (all cflags magic is done in the profiles)

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 catalyst/arch/riscv.py | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/catalyst/arch/riscv.py b/catalyst/arch/riscv.py
index 9f7a421f..18695b51 100644
--- a/catalyst/arch/riscv.py
+++ b/catalyst/arch/riscv.py
@@ -28,6 +28,16 @@ class arch_rv64_lp64(generic_riscv):
 	def __init__(self,myspec):
 		generic_riscv.__init__(self,myspec)
 
+class arch_rv32_ilp32d(generic_riscv):
+	"builder class for rv64_lp64"
+	def __init__(self,myspec):
+		generic_riscv.__init__(self,myspec)
+
+class arch_rv32_ilp32(generic_riscv):
+	"builder class for rv64_lp64"
+	def __init__(self,myspec):
+		generic_riscv.__init__(self,myspec)
+
 
 def register():
 	"Inform main catalyst program of the contents of this plugin."
@@ -35,5 +45,7 @@ def register():
 		"riscv"		: arch_riscv,
 		"rv64_multilib"	: arch_rv64_multilib,
 		"rv64_lp64d"	: arch_rv64_lp64d,
-		"rv64_lp64"	: arch_rv64_lp64
+		"rv64_lp64"	: arch_rv64_lp64,
+		"rv32_ilp32d"	: arch_rv32_ilp32d,
+		"rv32_ilp32"	: arch_rv32_ilp32
 		}, ("rv64_multilib"))


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] proj/catalyst:dilfridge/image commit in: catalyst/arch/
  2020-09-17 21:03 [gentoo-commits] proj/catalyst:catalyst-3.0-stable commit in: catalyst/arch/ Andreas K. Hüttel
@ 2020-09-17 21:13 ` Andreas K. Hüttel
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas K. Hüttel @ 2020-09-17 21:13 UTC (permalink / raw
  To: gentoo-commits

commit:     ff88ce93296fc216eded48e4b26a1354380e3d60
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 11 19:04:38 2020 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Sep 11 19:04:38 2020 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=ff88ce93

Add rv32 subarch names (all cflags magic is done in the profiles)

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 catalyst/arch/riscv.py | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/catalyst/arch/riscv.py b/catalyst/arch/riscv.py
index 9f7a421f..18695b51 100644
--- a/catalyst/arch/riscv.py
+++ b/catalyst/arch/riscv.py
@@ -28,6 +28,16 @@ class arch_rv64_lp64(generic_riscv):
 	def __init__(self,myspec):
 		generic_riscv.__init__(self,myspec)
 
+class arch_rv32_ilp32d(generic_riscv):
+	"builder class for rv64_lp64"
+	def __init__(self,myspec):
+		generic_riscv.__init__(self,myspec)
+
+class arch_rv32_ilp32(generic_riscv):
+	"builder class for rv64_lp64"
+	def __init__(self,myspec):
+		generic_riscv.__init__(self,myspec)
+
 
 def register():
 	"Inform main catalyst program of the contents of this plugin."
@@ -35,5 +45,7 @@ def register():
 		"riscv"		: arch_riscv,
 		"rv64_multilib"	: arch_rv64_multilib,
 		"rv64_lp64d"	: arch_rv64_lp64d,
-		"rv64_lp64"	: arch_rv64_lp64
+		"rv64_lp64"	: arch_rv64_lp64,
+		"rv32_ilp32d"	: arch_rv32_ilp32d,
+		"rv32_ilp32"	: arch_rv32_ilp32
 		}, ("rv64_multilib"))


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-17 21:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-17 21:03 [gentoo-commits] proj/catalyst:catalyst-3.0-stable commit in: catalyst/arch/ Andreas K. Hüttel
2020-09-17 21:13 ` [gentoo-commits] proj/catalyst:dilfridge/image " Andreas K. Hüttel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox