From 2d9af7725c68d3f6e25d6dcc71d9d1d1e0763c63 Mon Sep 17 00:00:00 2001 From: Andrew Gaffney Date: Thu, 7 Feb 2008 02:47:10 +0000 Subject: [PATCH] Reorder arch/powerpc.py to make python happy git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1284 d1e1f19c-881f-0410-ab34-b69fee027534 --- ChangeLog | 3 +++ arch/powerpc.py | 26 +++++++++++++------------- 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9a53fe52..7e90adb8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,9 @@ # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 # $Id: $ + 07 Feb 2008; Andrew Gaffney arch/powerpc.py: + Reorder arch/powerpc.py to make python happy + 07 Feb 2008; Andrew Gaffney modules/snapshot_target.py: Change .svn --include to an --exclude like it was supposed to be diff --git a/arch/powerpc.py b/arch/powerpc.py index fff7c857..46560b8b 100644 --- a/arch/powerpc.py +++ b/arch/powerpc.py @@ -21,6 +21,19 @@ class generic_ppc64(builder.generic): 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): @@ -92,19 +105,6 @@ class arch_power6(arch_ppc64): 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 ({ -- 2.26.2