* mpw-config.in: Match on mips-*-* instead of mips-idt-ecoff.
[external/binutils.git] / bfd / mpw-config.in
index c36a134..9195d0e 100644 (file)
@@ -10,19 +10,23 @@ If "{target_canonical}" =~ /m68k-apple-macos/
        Set BFD_BACKENDS '"{o}"coff-m68k.c.o "{o}"cofflink.c.o'
        Set defvec m68kcoff_vec
        Set selvecs '&m68kcoff_vec'
+
 Else If "{target_canonical}" =~ /powerpc-apple-macos/
        Set BFD_BACKENDS '"{o}"coff-pmac.c.o "{o}"xcofflink.c.o'
        Set defvec pmac_xcoff_vec
        Set selvecs '&pmac_xcoff_vec'
        Set selarchs "&bfd_powerpc_arch"
+
 Else If "{target_canonical}" =~ /i386-unknown-go32/
        Set BFD_BACKENDS '"{o}"coff-i386.c.o'
        Set defvec i386coff_vec
        Set selvecs '&i386coff_vec'
-Else If "{target_canonical}" =~ /mips-idt-ecoff/
+
+Else If "{target_canonical}" =~ /mips-\Option-x-\Option-x/
        Set BFD_BACKENDS '"{o}"coff-mips.c.o "{o}"ecoff.c.o "{o}"ecofflink.c.o'
        Set defvec ecoff_big_vec
        Set selvecs '&ecoff_big_vec,&ecoff_little_vec'
+
 Else If "{target_canonical}" =~ /sh-hitachi-hms/
        Set BFD_BACKENDS '"{o}"coff-sh.c.o "{o}"cofflink.c.o'
        Set defvec shcoff_vec