# 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
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,
"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")