diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-03-24 15:37:55 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-03-24 15:37:55 +0000 |
commit | 72c6e8ee2a67483428e91eb83296b2309f1572f7 (patch) | |
tree | 8a33005f69261fd702ce2d4e9a8bc4e8c5ede663 /arch | |
parent | Adding back in the kill for livecd-stage1 for gconfd-2 and resolving bug #733... (diff) | |
download | catalyst-72c6e8ee2a67483428e91eb83296b2309f1572f7.tar.gz catalyst-72c6e8ee2a67483428e91eb83296b2309f1572f7.tar.bz2 catalyst-72c6e8ee2a67483428e91eb83296b2309f1572f7.zip |
Applying arm patch from vapier and closing bug #86466. This is now catalyst 1.1.8, so enjoy.
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@569 d1e1f19c-881f-0410-ab34-b69fee027534
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm.py | 34 |
1 files changed, 29 insertions, 5 deletions
diff --git a/arch/arm.py b/arch/arm.py index 08759b13..76b5fda2 100644 --- a/arch/arm.py +++ b/arch/arm.py @@ -1,12 +1,21 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo/src/catalyst/arch/arm.py,v 1.3 2004/10/15 02:36:00 zhen Exp $ +# $Header: /var/cvsroot/gentoo/src/catalyst/arch/arm.py,v 1.4 2005/03/24 15:37:55 wolf31o2 Exp $ import builder,os from catalyst_support import * class generic_arm(builder.generic): - "Abstract base class for all arm builders" + "Abstract base class for all arm (little endian) builders" + def __init__(self,myspec): + builder.generic.__init__(self,myspec) + self.settings["mainarch"]="arm" + self.settings["CHROOT"]="chroot" + self.settings["CFLAGS"]="-O2 -pipe" + self.settings["CXXFLAGS"]="-O1 -pipe" + +class generic_armeb(builder.generic): + "Abstract base class for all arm (big endian) builders" def __init__(self,myspec): builder.generic.__init__(self,myspec) self.settings["mainarch"]="arm" @@ -15,11 +24,17 @@ class generic_arm(builder.generic): self.settings["CXXFLAGS"]="-O1 -pipe" class arch_arm(generic_arm): - "Builder class for arm target" + "Builder class for arm (little endian) target" def __init__(self,myspec): generic_arm.__init__(self,myspec) self.settings["CHOST"]="arm-unknown-linux-gnu" +class arch_armeb(generic_armeb): + "Builder class for arm (big endian) target" + def __init__(self,myspec): + generic_armeb.__init__(self,myspec) + self.settings["CHOST"]="armeb-unknown-linux-gnu" + class arch_armv4l(generic_arm): "Builder class for armv4l (StrongArm-110) target" def __init__(self,myspec): @@ -27,9 +42,18 @@ class arch_armv4l(generic_arm): self.settings["CFLAGS"]+=" -mcpu=strongarm110" self.settings["CHOST"]="armv4l-unknown-linux-gnu" +class arch_armv5b(generic_arm): + "Builder class for armv5b (XScale) target" + def __init__(self,myspec): + generic_arm.__init__(self,myspec) + self.settings["CFLAGS"]+=" -mcpu=xscale" + self.settings["CHOST"]="armv5b-unknown-linux-gnu" + def register(foo): "Inform main catalyst program of the contents of this plugin." foo.update({ "arm" : arch_arm, - "armv4l" : arch_armv4l + "armv4l" : arch_armv4l, + "armeb" : arch_armeb, + "armv5b" : arch_armv5b }) |