From 8f0d792824295d2ab91d269f44236d8bdcb2227e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ra=C3=BAl=20Porcel?= Date: Sat, 25 Jun 2011 18:36:07 +0000 Subject: [PATCH] Add sh4aeb --- ChangeLog | 3 +++ modules/catalyst/arch/sh.py | 12 ++++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 88b3b8ec..8cfcb11f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,9 @@ # Distributed under the GPL v2 # $Id$ + 25 Jun 2011; Raúl Porcel modules/catalyst/arch/sh.py: + Add sh4aeb + 25 Jun 2011; Matt Turner 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 319ced2f..0058152e 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") -- 2.26.2