Add sh4aeb
authorRaúl Porcel <armin76@gentoo.org>
Sat, 25 Jun 2011 18:36:07 +0000 (18:36 +0000)
committerRaúl Porcel <armin76@gentoo.org>
Sat, 25 Jun 2011 18:36:07 +0000 (18:36 +0000)
ChangeLog
modules/catalyst/arch/sh.py

index 88b3b8ec925d96d5c19848d5166bc5a8cdb1688f..8cfcb11f1c92dcdfcf67bfc73880ebf0b264e3e3 100644 (file)
--- 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
index 319ced2fea48279717a5d7c102a31d59a277a2ca..0058152e5245f1f2dca203e8f0f8cb45f5992a50 100644 (file)
@@ -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")