mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
c71f57835c
for mips target. * mpw-make.in: Remove mips targets definitions, add rule to compile with GCC, remove ecoff.c.o and ecofflink.c.o from list of required object files.
15 lines
615 B
Plaintext
15 lines
615 B
Plaintext
# Configuration fragment for BFD.
|
|
|
|
forward-include "{srcdir}"hosts:mpw.h sysdep.h
|
|
|
|
sed -e 's/@WORDSIZE@/32/' {srcdir}bfd-in2.h >bfd.h-new
|
|
MoveIfChange bfd.h-new bfd.h
|
|
|
|
If "{target_canonical}" =~ /m68k-aout/
|
|
Else If "{target_canonical}" =~ /mips-idt-ecoff/
|
|
Echo 'WORDSIZE = 32' >"{objdir}"mk.tmp
|
|
Echo 'BFD_BACKENDS = "{o}"coff-mips.c.o "{o}"ecoff.c.o "{o}"ecofflink.c.o' >>"{objdir}"mk.tmp
|
|
Echo 'BFD_MACHINES = "{o}"cpu-mips.c.o' >>"{objdir}"mk.tmp
|
|
Echo 'TDEFAULTS = -d DEFAULT_VECTOR=ecoff_big_vec -d SELECT_VECS=&ecoff_big_vec,&ecoff_little_vec -d SELECT_ARCHITECTURES=bfd_mips_arch' >>"{objdir}"mk.tmp
|
|
End If
|