--- /dev/null
+# Distributed under the GNU General Public License version 2
+# Copyright 2003-2004 Gentoo Technologies, Inc.
+
+import builder,os
+from catalyst_support import *
+
+class generic_s390(builder.generic):
+ "abstract base class for all s390 builders"
+ def __init__(self,myspec):
+ builder.generic.__init__(self,myspec)
+ self.settings["mainarch"]="s390"
+ self.settings["CHROOT"]="chroot"
+
+class arch_s390(generic_s390):
+ "builder class for generic s390"
+ def __init__(self,myspec):
+ generic_s390.__init__(self,myspec)
+ self.settings["CFLAGS"]="-O2"
+ self.settings["CHOST"]="s390-ibm-linux-gnu"
+
+def register(foo):
+ "Inform main catalyst program of the contents of this plugin."
+ foo.update({"s390":arch_s390})
# Distributed under the GNU General Public License version 2
# Copyright 2003-2004 Gentoo Technologies, Inc.
-# $Header: /var/cvsroot/gentoo/src/catalyst/modules/Attic/targets.py,v 1.93 2004/03/23 07:20:34 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/Attic/targets.py,v 1.94 2004/03/24 17:24:47 iggy Exp $
import os,string,imp,types,shutil
from catalyst_support import *
"ia64" : ["ia64"],
"alpha" : ["alpha"],
"sparc" : ["sparc"],
+ "s390" : ["s390"],
"ppc" : ["ppc"],
"ppc64" : ["ppc64"],
"hppa" : ["hppa"],
"ia64" : "ia64",
"alpha" : "alpha",
"sparc" : "sparc",
+ "s390" : "s390",
"ppc" : "ppc",
"ppc64" : "ppc64",
"parisc" : "hppa",