mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
67c2d8c8d7
* mpw-config.in (target_arch): Compute from canonical target. (m68k, mips, powerpc, sparc): Add architectures. * mpw-make.in (disassemble.c.o): Add. (ALL_CFLAGS): Remove special flags (-mc68020 -mc68881 -model far).
22 lines
631 B
Plaintext
22 lines
631 B
Plaintext
# Configuration fragment for opcodes.
|
|
|
|
forward-include "{srcroot}"bfd:hosts:mpw.h sysdep.h
|
|
|
|
Set BFD_MACHINES " "
|
|
|
|
Set target_arch `echo {target_canonical} | sed -e 's/-.*-.*//'`
|
|
|
|
If "{target_arch}" =~ /m68k/
|
|
Set BFD_MACHINES '"{o}"m68k-dis.c.o'
|
|
Set archname ARCH_m68k
|
|
Else If "{target_arch}" =~ /mips/
|
|
Set BFD_MACHINES '"{o}"mips-dis.c.o "{o}"mips-opc.c.o'
|
|
Set archname ARCH_mips
|
|
Else If "{target_arch}" =~ /powerpc/
|
|
Set BFD_MACHINES '"{o}"ppc-dis.c.o "{o}"ppc-opc.c.o'
|
|
Set archname ARCH_powerpc
|
|
Else If "{target_arch}" =~ /sparc/
|
|
Set BFD_MACHINES '"{o}"sparc-dis.c.o "{o}"sparc-opc.c.o'
|
|
Set archname ARCH_sparc
|
|
End If
|