aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2013-01-10 18:56:28 -0800
committerBrian Dolbec <dolsen@gentoo.org>2014-02-22 10:30:15 -0800
commit24c53524bfb97dc0e7d7a37b5bc752cc132210c2 (patch)
tree4e2a7b18196cf5d6193977942f6ddabc12730b7a /arch/sparc.py
parentUpdate AUTHORS to review credit and split the list of people in original auth... (diff)
downloadcatalyst-24c53524bfb97dc0e7d7a37b5bc752cc132210c2.tar.gz
catalyst-24c53524bfb97dc0e7d7a37b5bc752cc132210c2.tar.bz2
catalyst-24c53524bfb97dc0e7d7a37b5bc752cc132210c2.zip
Initial rearrangement of the python directories
New minimal start script, moving the original catalyst script to catalyst/main.py. Add __init__.py's to modules and arch sub-pkgs. skip __init__.py when loading the modules. Update the module loading paths for the new locations. Fix catalyst_support import to new location and specify imported modules.
Diffstat (limited to 'arch/sparc.py')
-rw-r--r--arch/sparc.py42
1 files changed, 0 insertions, 42 deletions
diff --git a/arch/sparc.py b/arch/sparc.py
deleted file mode 100644
index 5eb5344c..00000000
--- a/arch/sparc.py
+++ /dev/null
@@ -1,42 +0,0 @@
-
-import builder,os
-from catalyst_support import *
-
-class generic_sparc(builder.generic):
- "abstract base class for all sparc builders"
- def __init__(self,myspec):
- builder.generic.__init__(self,myspec)
- if self.settings["buildarch"]=="sparc64":
- if not os.path.exists("/bin/linux32") and not os.path.exists("/usr/bin/linux32"):
- raise CatalystError,"required executable linux32 not found (\"emerge setarch\" to fix.)"
- self.settings["CHROOT"]="linux32 chroot"
- self.settings["crosscompile"] = False;
- else:
- self.settings["CHROOT"]="chroot"
-
-class generic_sparc64(builder.generic):
- "abstract base class for all sparc64 builders"
- def __init__(self,myspec):
- builder.generic.__init__(self,myspec)
- self.settings["CHROOT"]="chroot"
-
-class arch_sparc(generic_sparc):
- "builder class for generic sparc (sun4cdm)"
- def __init__(self,myspec):
- generic_sparc.__init__(self,myspec)
- self.settings["CFLAGS"]="-O2 -pipe"
- self.settings["CHOST"]="sparc-unknown-linux-gnu"
-
-class arch_sparc64(generic_sparc64):
- "builder class for generic sparc64 (sun4u)"
- def __init__(self,myspec):
- generic_sparc64.__init__(self,myspec)
- self.settings["CFLAGS"]="-O2 -mcpu=ultrasparc -pipe"
- self.settings["CHOST"]="sparc-unknown-linux-gnu"
-
-def register():
- "Inform main catalyst program of the contents of this plugin."
- return ({
- "sparc" : arch_sparc,
- "sparc64" : arch_sparc64
- }, ("sparc","sparc64", ))