ppc support
authorDaniel Robbins <drobbins@gentoo.org>
Thu, 4 Dec 2003 12:16:13 +0000 (12:16 +0000)
committerDaniel Robbins <drobbins@gentoo.org>
Thu, 4 Dec 2003 12:16:13 +0000 (12:16 +0000)
----------------------------------------------------------------------

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@98 d1e1f19c-881f-0410-ab34-b69fee027534

arch/ppc.py
modules/targets.py

index 3bfc01b0e4b4e895d5248f1ade15400ab3765902..51b4d66bf9b4dc6bb36635365caab1f2f60c81f9 100644 (file)
@@ -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})
                
index d2fb51a569941a6603368deec6f33c6b1c7a3ddc..58bf66c1d04059a7926d6e8fe066dd8d19561966 100644 (file)
@@ -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]