# ChangeLog for gentoo/src/catalyst
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.13 2003/11/30 01:51:44 drobbins Exp $
-
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.14 2003/12/16 14:40:59 gmsoft Exp $
+
+ 16 Dec 2003; Guy Martin <gmsoft@gentoo.org> : arch/hppa.py,modules/targets.py :
+ Added hppa specific code.
+
29 Nov 2003; Daniel Robbins <drobbins@gentoo.org>: Tinderbox target added. See
tinderbox examples in examples/ dir.
--- /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 arch_hppa(builder.generic):
+ "builder class for hppa"
+ def __init__(self,myspec):
+ builder.generic.__init__(self,myspec)
+ self.settings["mainarch"]="hppa"
+ self.settings["CHROOT"]="chroot"
+ self.settings["CFLAGS"]="-O2"
+ self.settings["CHOST"]="hppa-unknown-linux-gnu"
+
+def register(foo):
+ "Inform main catalyst program of the contents of this plugin."
+ foo.update({ "hppa":arch_hppa })
"ia64" : ["ia64"],
"alpha" : ["alpha"],
"sparc" : ["sparc"],
- "ppc" : ["ppc"]
+ "ppc" : ["ppc"],
+ "hppa" : ["hppa"]
}
machinemap={ "i386" : "x86",
"ia64" : "ia64",
"alpha" : "alpha",
"sparc" : "sparc",
- "ppc" : "ppc"
+ "ppc" : "ppc",
+ "parisc" : "hppa",
+ "parisc64" : "hppa"
}
mymachine=os.uname()[4]
os.makedirs(self.settings["target_path"])
else:
self.settings["target_path"]=st+"/builds/"+self.settings["target_subpath"]+".tar.bz2"
-
self.settings["source_path"]=st+"/builds/"+self.settings["source_subpath"]+".tar.bz2"
self.settings["chroot_path"]=st+"/tmp/"+self.settings["target_subpath"]