aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2011-06-25 18:36:07 +0000
committerRaúl Porcel <armin76@gentoo.org>2011-06-25 18:36:07 +0000
commit8f0d792824295d2ab91d269f44236d8bdcb2227e (patch)
tree362cc3c7b275feda7fffc7ce00723d1468200467
parentMakefile: Add missing dependency (diff)
downloadcatalyst-8f0d792824295d2ab91d269f44236d8bdcb2227e.tar.gz
catalyst-8f0d792824295d2ab91d269f44236d8bdcb2227e.tar.bz2
catalyst-8f0d792824295d2ab91d269f44236d8bdcb2227e.zip
Add sh4aeb
-rw-r--r--ChangeLog3
-rw-r--r--modules/catalyst/arch/sh.py12
2 files changed, 13 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 88b3b8e..8cfcb11 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,9 @@
# Distributed under the GPL v2
# $Id$
+ 25 Jun 2011; Raúl Porcel <armin76@gentoo.org> modules/catalyst/arch/sh.py:
+ Add sh4aeb
+
25 Jun 2011; Matt Turner <mattst88@gentoo.org>
targets/support/chroot-functions.sh:
Use get_libdir instead of hard-coding lib for distcc
diff --git a/modules/catalyst/arch/sh.py b/modules/catalyst/arch/sh.py
index 319ced2..0058152 100644
--- a/modules/catalyst/arch/sh.py
+++ b/modules/catalyst/arch/sh.py
@@ -97,6 +97,13 @@ class arch_sh4eb(generic_sheb):
self.settings["CFLAGS"]="-O2 -m4 -pipe"
self.settings["CHOST"]="sh4eb-unknown-linux-gnu"
+class arch_sh4aeb(generic_sheb):
+ "Builder class for SH-4A [Big-endian]"
+ def __init__(self,myspec):
+ generic_sheb.__init__(self,myspec)
+ self.settings["CFLAGS"]="-O2 -m4a -pipe"
+ self.settings["CHOST"]="sh4aeb-unknown-linux-gnu"
+
_subarch_map = {
"sh" :arch_sh,
"sh2" :arch_sh2,
@@ -105,10 +112,11 @@ _subarch_map = {
"sh4" :arch_sh4,
"sh4a" :arch_sh4a,
"sheb" :arch_sheb,
- "sh2aeb":arch_sh2aeb,
+ "sh2aeb" :arch_sh2aeb,
"sh2eb" :arch_sh2eb,
"sh3eb" :arch_sh3eb,
- "sh4eb" :arch_sh4eb
+ "sh4eb" :arch_sh4eb,
+ "sh4aeb" :arch_sh4aeb
}
_machine_map = ("sh2","sh2a","sh3","sh4","sh4a","sh2eb","sh2aeb","sh3eb","sh4eb","sh4aeb")