aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2011-06-25 12:15:27 -0400
committerMatt Turner <mattst88@gmail.com>2011-06-25 12:15:27 -0400
commit28b793958b322925c2c2a42c8621739a7c1bf6a8 (patch)
tree320fd2e62e031696013fe61ef8d1e2b03df7a4b2
parentmips.py: create generic mips64 classes (diff)
downloadcatalyst-28b793958b322925c2c2a42c8621739a7c1bf6a8.tar.gz
catalyst-28b793958b322925c2c2a42c8621739a7c1bf6a8.tar.bz2
catalyst-28b793958b322925c2c2a42c8621739a7c1bf6a8.zip
mips.py: remove n32/n64 USE flags
Nothing uses these flags anymore.
-rw-r--r--ChangeLog3
-rw-r--r--modules/catalyst/arch/mips.py10
2 files changed, 4 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index 5dd3409..6f98efd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,9 @@
# $Id$
25 Jun 2011; Matt Turner <mattst88@gentoo.org>
+ modules/catalyst/arch/mips.py: remove n32/n64 USE flags
+
+ 25 Jun 2011; Matt Turner <mattst88@gentoo.org>
modules/catalyst/arch/mips.py: create generic mips64 classes
and inherit from them to simplify other classes
diff --git a/modules/catalyst/arch/mips.py b/modules/catalyst/arch/mips.py
index 85dc270..51b6812 100644
--- a/modules/catalyst/arch/mips.py
+++ b/modules/catalyst/arch/mips.py
@@ -46,14 +46,12 @@ class arch_mips3_n32(generic_mips64):
def __init__(self,myspec):
generic_mips64.__init__(self,myspec)
self.settings["CFLAGS"]="-O2 -mips3 -mabi=n32 -pipe"
- self.settings["HOSTUSE"]=["n32"]
class arch_mips3_n64(generic_mips64):
"Builder class for MIPS III [Big-endian N64]"
def __init__(self,myspec):
generic_mips64.__init__(self,myspec)
self.settings["CFLAGS"]="-O2 -mips3 -mabi=64 -pipe"
- self.settings["HOSTUSE"]=["n64"]
class arch_mips4(generic_mips64):
"Builder class for MIPS IV [Big-endian]"
@@ -66,14 +64,12 @@ class arch_mips4_n32(generic_mips64):
def __init__(self,myspec):
generic_mips64.__init__(self,myspec)
self.settings["CFLAGS"]="-O2 -mips4 -mabi=n32 -pipe"
- self.settings["HOSTUSE"]=["n32"]
class arch_mips4_n64(generic_mips64):
"Builder class for MIPS IV [Big-endian N64]"
def __init__(self,myspec):
generic_mips64.__init__(self,myspec)
self.settings["CFLAGS"]="-O2 -mips4 -mabi=64 -pipe"
- self.settings["HOSTUSE"]=["n64"]
class arch_mipsel1(generic_mipsel):
"Builder class for all MIPS I [Little-endian]"
@@ -92,7 +88,6 @@ class arch_mipsel3_n32(generic_mips64el):
def __init__(self,myspec):
generic_mips64el.__init__(self,myspec)
self.settings["CFLAGS"]="-O2 -mips3 -mabi=n32 -pipe"
- self.settings["HOSTUSE"]=["n32"]
class arch_loongson2e(generic_mipsel):
"Builder class for all Loongson 2E [Little-endian]"
@@ -105,7 +100,6 @@ class arch_loongson2e_n32(generic_mips64el):
def __init__(self,myspec):
generic_mips64el.__init__(self,myspec)
self.settings["CFLAGS"]="-O2 -march=loongson2e -mabi=n32 -pipe -mplt"
- self.settings["HOSTUSE"]=["n32"]
class arch_loongson2f(generic_mipsel):
"Builder class for all Loongson 2F [Little-endian]"
@@ -118,7 +112,6 @@ class arch_loongson2f_n32(generic_mips64el):
def __init__(self,myspec):
generic_mips64el.__init__(self,myspec)
self.settings["CFLAGS"]="-O3 -march=loongson2f -mabi=n32 -pipe -mplt -Wa,-mfix-loongson2f-nop"
- self.settings["HOSTUSE"]=["n32"]
class arch_mipsel4(generic_mips64el):
"Builder class for all MIPS IV [Little-endian]"
@@ -131,7 +124,6 @@ class arch_mipsel4_n32(generic_mips64el):
def __init__(self,myspec):
generic_mips64el.__init__(self,myspec)
self.settings["CFLAGS"]="-O2 -mips4 -mabi=n32 -pipe"
- self.settings["HOSTUSE"]=["n32"]
class arch_cobalt(generic_mipsel):
"Builder class for all cobalt [Little-endian]"
@@ -145,7 +137,7 @@ class arch_cobalt_n32(generic_mips64el):
def __init__(self,myspec):
generic_mips64el.__init__(self,myspec)
self.settings["CFLAGS"]="-O2 -march=r5000 -mabi=n32 -pipe"
- self.settings["HOSTUSE"]=["cobalt","n32"]
+ self.settings["HOSTUSE"]=["cobalt"]
_subarch_map = {
"cobalt" : arch_cobalt,