From 757703e75afac382dd1dedcde1c1016d18b7783f Mon Sep 17 00:00:00 2001 From: Brad House Date: Sat, 10 Jan 2004 17:27:54 +0000 Subject: [PATCH] add ppc64 profile git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@124 d1e1f19c-881f-0410-ab34-b69fee027534 --- arch/ppc64.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 arch/ppc64.py diff --git a/arch/ppc64.py b/arch/ppc64.py new file mode 100644 index 00000000..2da1668d --- /dev/null +++ b/arch/ppc64.py @@ -0,0 +1,23 @@ +# Distributed under the GNU General Public License version 2 +# Copyright 2003-2004 Gentoo Technologies, Inc. + +import builder + +class generic_ppc64(builder.generic): + "abstract base class for all ppc64 builders" + def __init__(self,myspec): + builder.generic.__init__(self,myspec) + self.settings["mainarch"]="ppc64" + self.settings["CHROOT"]="chroot" + +class arch_ppc64(generic_ppc64): + "builder class for generic ppc64 (G5/Power4/Power4+)" + def __init__(self,myspec): + generic_ppc64.__init__(self,myspec) + self.settings["CFLAGS"]="-O2" + self.settings["CHOST"]="powerpc64-unknown-linux-gnu" + +def register(foo): + "Inform main catalyst program of the contents of this plugin." + foo.update({"ppc64":arch_ppc64}) + -- 2.26.2