# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Id: $
+ 07 Feb 2008; Andrew Gaffney <agaffney@gentoo.org> arch/powerpc.py:
+ Reorder arch/powerpc.py to make python happy
+
07 Feb 2008; Andrew Gaffney <agaffney@gentoo.org>
modules/snapshot_target.py:
Change .svn --include to an --exclude like it was supposed to be
builder.generic.__init__(self,myspec)
self.settings["CHROOT"]="chroot"
+class arch_ppc(generic_ppc):
+ "builder class for generic powerpc"
+ def __init__(self,myspec):
+ generic_ppc.__init__(self,myspec)
+ self.settings["CFLAGS"]="-O2 -mcpu=powerpc -mtune=powerpc -fno-strict-aliasing -pipe"
+
+class arch_ppc64(generic_ppc64):
+ "builder class for generic ppc64"
+ def __init__(self,myspec):
+ generic_ppc64.__init__(self,myspec)
+ self.settings["CFLAGS"]="-O2 -pipe"
+ self.settings["CHOST"]="powerpc64-unknown-linux-gnu"
+
class arch_970(arch_ppc64):
"builder class for 970 aka G5 under ppc64"
def __init__(self,myspec):
self.settings["CFLAGS"]="-O2 -pipe -mcpu=power6 -mtune=power6"
self.settings["HOSTUSE"]=["altivec","ibm"]
-class arch_ppc(generic_ppc):
- "builder class for generic powerpc"
- def __init__(self,myspec):
- generic_ppc.__init__(self,myspec)
- self.settings["CFLAGS"]="-O2 -mcpu=powerpc -mtune=powerpc -fno-strict-aliasing -pipe"
-
-class arch_ppc64(generic_ppc64):
- "builder class for generic ppc64"
- def __init__(self,myspec):
- generic_ppc64.__init__(self,myspec)
- self.settings["CFLAGS"]="-O2 -pipe"
- self.settings["CHOST"]="powerpc64-unknown-linux-gnu"
-
def register():
"Inform main catalyst program of the contents of this plugin."
return ({