From: Matt Turner Date: Sat, 25 Jun 2011 16:15:27 +0000 (-0400) Subject: mips.py: remove n32/n64 USE flags X-Git-Tag: CATALYST-2.0.10~3^2~48 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=28b793958b322925c2c2a42c8621739a7c1bf6a8;p=catalyst.git mips.py: remove n32/n64 USE flags Nothing uses these flags anymore. --- diff --git a/ChangeLog b/ChangeLog index 5dd3409c..6f98efdb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,9 @@ # Distributed under the GPL v2 # $Id$ + 25 Jun 2011; Matt Turner + modules/catalyst/arch/mips.py: remove n32/n64 USE flags + 25 Jun 2011; Matt Turner 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 85dc270b..51b68120 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,