From: Matt Turner Date: Tue, 19 Jul 2011 17:01:48 +0000 (-0400) Subject: mips.py: remove unnecessary generic_multilib class X-Git-Tag: CATALYST-2.0.7~18 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8b7c852ad404c17e685888ffbf81cf5b3664fe07;p=catalyst.git mips.py: remove unnecessary generic_multilib class It only served to add the "multilib" USE flag, which is already provided by the multilib profiles. Signed-off-by: Matt Turner --- diff --git a/arch/mips.py b/arch/mips.py index 757e2155..69a5c08b 100644 --- a/arch/mips.py +++ b/arch/mips.py @@ -30,12 +30,6 @@ class generic_mips64el(builder.generic): self.settings["CHROOT"]="chroot" self.settings["CHOST"]="mips64el-unknown-linux-gnu" -class generic_multilib(builder.generic): - "Abstract base class for MIPS multilib" - def __init__(self,myspec): - builder.generic.__init__(self,myspec) - self.settings["HOSTUSE"]=["multilib"] - class arch_mips1(generic_mips): "Builder class for MIPS I [Big-endian]" def __init__(self,myspec): @@ -66,11 +60,10 @@ class arch_mips3_n64(generic_mips64): generic_mips64.__init__(self,myspec) self.settings["CFLAGS"]="-O2 -mips3 -mabi=64 -mfix-r4000 -mfix-r4400 -pipe" -class arch_mips3_multilib(generic_mips64,generic_multilib): +class arch_mips3_multilib(generic_mips64): "Builder class for MIPS III [Big-endian multilib]" def __init__(self,myspec): generic_mips64.__init__(self,myspec) - generic_multilib.__init__(self,myspec) self.settings["CFLAGS"]="-O2 -mips3 -mfix-r4000 -mfix-r4400 -pipe" class arch_mips4(generic_mips64): @@ -91,11 +84,10 @@ class arch_mips4_n64(generic_mips64): generic_mips64.__init__(self,myspec) self.settings["CFLAGS"]="-O2 -mips4 -mabi=64 -pipe" -class arch_mips4_multilib(generic_mips64,generic_multilib): +class arch_mips4_multilib(generic_mips64): "Builder class for MIPS IV [Big-endian multilib]" def __init__(self,myspec): generic_mips64.__init__(self,myspec) - generic_multilib.__init__(self,myspec) self.settings["CFLAGS"]="-O2 -mips4 -pipe" class arch_mips64(generic_mips64): @@ -116,11 +108,10 @@ class arch_mips64_n64(generic_mips64): generic_mips64.__init__(self,myspec) self.settings["CFLAGS"]="-O2 -march=mips64 -mabi=64 -pipe" -class arch_mips64_multilib(generic_mips64,generic_multilib): +class arch_mips64_multilib(generic_mips64): "Builder class for MIPS 64 [Big-endian multilib]" def __init__(self,myspec): generic_mips64.__init__(self,myspec) - generic_multilib.__init__(self,myspec) self.settings["CFLAGS"]="-O2 -march=mips64 -pipe" class arch_mipsel1(generic_mipsel): @@ -153,11 +144,10 @@ class arch_mipsel3_n64(generic_mips64el): generic_mips64el.__init__(self,myspec) self.settings["CFLAGS"]="-O2 -mips3 -mabi=64 -Wa,-mfix-loongson2f-nop -pipe" -class arch_mipsel3_multilib(generic_mips64el,generic_multilib): +class arch_mipsel3_multilib(generic_mips64el): "Builder class for MIPS III [Little-endian multilib]" def __init__(self,myspec): generic_mips64el.__init__(self,myspec) - generic_multilib.__init__(self,myspec) self.settings["CFLAGS"]="-O2 -mips3 -Wa,-mfix-loongson2f-nop -pipe" class arch_loongson2e(generic_mipsel): @@ -202,11 +192,10 @@ class arch_mipsel4_n64(generic_mips64el): generic_mips64el.__init__(self,myspec) self.settings["CFLAGS"]="-O2 -mips4 -mabi=64 -pipe" -class arch_mipsel4_multilib(generic_mips64el,generic_multilib): +class arch_mipsel4_multilib(generic_mips64el): "Builder class for MIPS IV [Little-endian multilib]" def __init__(self,myspec): generic_mips64el.__init__(self,myspec) - generic_multilib.__init__(self,myspec) self.settings["CFLAGS"]="-O2 -mips4 -pipe" class arch_mips64el(generic_mips64el): @@ -227,11 +216,10 @@ class arch_mips64el_n64(generic_mips64el): generic_mips64el.__init__(self,myspec) self.settings["CFLAGS"]="-O2 -march=mips64 -mabi=64 -pipe" -class arch_mips64el_multilib(generic_mips64el,generic_multilib): +class arch_mips64el_multilib(generic_mips64el): "Builder class for MIPS 64 [Little-endian multilib]" def __init__(self,myspec): generic_mips64el.__init__(self,myspec) - generic_multilib.__init__(self,myspec) self.settings["CFLAGS"]="-O2 -march=mips64 -pipe" class arch_cobalt(generic_mipsel):