SEPARATE_STAB_SECTIONS should be defined to 1, not empty.
[deliverable/binutils-gdb.git] / opcodes / mpw-config.in
... / ...
CommitLineData
1# Configuration fragment for opcodes.
2
3forward-include "{srcroot}"bfd:hosts:mpw.h sysdep.h
4
5Set target_arch `echo {target_canonical} | sed -e 's/-.*-.*//'`
6
7Set archname ARCH_{target_arch}
8
9If "{target_arch}" =~ /m68k/
10 Set BFD_MACHINES '"{o}"m68k-dis.c.o'
11Else If "{target_arch}" =~ /powerpc/
12 Set BFD_MACHINES '"{o}"ppc-dis.c.o "{o}"ppc-opc.c.o'
13Else If "{target_arch}" =~ /mips/
14 Set BFD_MACHINES '"{o}"mips-dis.c.o "{o}"mips-opc.c.o'
15Else If "{target_arch}" =~ /sparc/
16 Set BFD_MACHINES '"{o}"sparc-dis.c.o "{o}"sparc-opc.c.o'
17End If
18
19Echo '# Start from mpw-config.in' > "{o}"mk.tmp
20
21Echo "BFD_MACHINES = " {BFD_MACHINES} >> "{o}"mk.tmp
22
23Echo "ARCHDEFS = -d" {archname} >> "{o}"mk.tmp
24
25Echo '# End from mpw-config.in' >> "{o}"mk.tmp
This page took 0.022779 seconds and 4 git commands to generate.