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 $
6 from catalyst_support import *
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"
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"
23 "Inform main catalyst program of the contents of this plugin."
24 foo.update({"s390":arch_s390})