Commit | Line | Data |
---|---|---|
e7c4e61c SS |
1 | # Configuration fragment for opcodes. |
2 | ||
8ab58834 | 3 | forward-include "{srcroot}"bfd:hosts:mpw.h sysdep.h |
72e11c95 SS |
4 | |
5 | Set BFD_MACHINES " " | |
67c2d8c8 SS |
6 | |
7 | Set target_arch `echo {target_canonical} | sed -e 's/-.*-.*//'` | |
8 | ||
9 | If "{target_arch}" =~ /m68k/ | |
10 | Set BFD_MACHINES '"{o}"m68k-dis.c.o' | |
11 | Set archname ARCH_m68k | |
12 | Else If "{target_arch}" =~ /mips/ | |
13 | Set BFD_MACHINES '"{o}"mips-dis.c.o "{o}"mips-opc.c.o' | |
14 | Set archname ARCH_mips | |
15 | Else If "{target_arch}" =~ /powerpc/ | |
16 | Set BFD_MACHINES '"{o}"ppc-dis.c.o "{o}"ppc-opc.c.o' | |
17 | Set archname ARCH_powerpc | |
18 | Else If "{target_arch}" =~ /sparc/ | |
19 | Set BFD_MACHINES '"{o}"sparc-dis.c.o "{o}"sparc-opc.c.o' | |
20 | Set archname ARCH_sparc | |
21 | End If |