Big honkin' copyright update.
[catalyst.git] / arch / s390.py
1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo/src/catalyst/arch/s390.py,v 1.3 2005/07/05 21:53:41 wolf31o2 Exp $
4
5 import builder,os
6 from catalyst_support import *
7
8 class generic_s390(builder.generic):
9         "abstract base class for all s390 builders"
10         def __init__(self,myspec):
11                 builder.generic.__init__(self,myspec)
12                 self.settings["mainarch"]="s390"
13                 self.settings["CHROOT"]="chroot"
14
15 class arch_s390(generic_s390):
16         "builder class for generic s390"
17         def __init__(self,myspec):
18                 generic_s390.__init__(self,myspec)
19                 self.settings["CFLAGS"]="-O2"
20                 self.settings["CHOST"]="s390-ibm-linux-gnu"
21
22 def register(foo):
23         "Inform main catalyst program of the contents of this plugin."
24         foo.update({"s390":arch_s390})