From: Daniel Robbins Date: Thu, 4 Dec 2003 12:16:13 +0000 (+0000) Subject: ppc support X-Git-Tag: CATALYST_1_0_1~142 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=51543ec1a9c11e7980339b8ae0335185c2ce7472;p=catalyst.git ppc support ---------------------------------------------------------------------- git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@98 d1e1f19c-881f-0410-ab34-b69fee027534 --- diff --git a/arch/ppc.py b/arch/ppc.py index 3bfc01b0..51b4d66b 100644 --- a/arch/ppc.py +++ b/arch/ppc.py @@ -46,5 +46,5 @@ class arch_g4(generic_ppc): def register(foo): "Inform main catalyst program of the contents of this plugin." #power/ppc can't be used as a subarch name as it has a "/" in it and is used in filenames - foo.update({"ppc":arch_ppc,"power/ppc":arch_power_ppc,"g3":arch_g3,"g4":arch_g4}) + foo.update({"ppc":arch_ppc,"power-ppc":arch_power_ppc,"g3":arch_g3,"g4":arch_g4}) diff --git a/modules/targets.py b/modules/targets.py index d2fb51a5..58bf66c1 100644 --- a/modules/targets.py +++ b/modules/targets.py @@ -27,7 +27,8 @@ class generic_stage_target(generic_target): "sparc64" : ["sparc64"], "ia64" : ["ia64"], "alpha" : ["alpha"], - "sparc" : ["sparc"] + "sparc" : ["sparc"], + "ppc" : ["ppc"] } machinemap={ "i386" : "x86", @@ -38,7 +39,8 @@ class generic_stage_target(generic_target): "sparc64" : "sparc64", "ia64" : "ia64", "alpha" : "alpha", - "sparc" : "sparc" + "sparc" : "sparc", + "ppc" : "ppc" } mymachine=os.uname()[4]