* mpw-config.in (emulname): Set based on target.
[deliverable/binutils-gdb.git] / ld / mpw-config.in
1 # Configuration fragment for LD.
2
3 If "{target_canonical}" =~ /m68k-aout/
4 Set emulname m68kaout
5 Else If "{target_canonical}" =~ /m68k-coff/
6 Set emulname m68kcoff
7 Else If "{target_canonical}" =~ /mips-idt-ecoff/
8 Set emulname mipsidt
9 End If
10
11 Echo '/* This file is automatically generated. DO NOT EDIT! */' >ldemul-tmp.h
12 Echo "extern ld_emulation_xfer_type ld_{emulname}_emulation;" >>ldemul-tmp.h
13 Echo '#define EMULATION_LIST \' >>ldemul-tmp.h
14 Echo " &ld_{emulname}_emulation, \" >>ldemul-tmp.h
15 Echo ' 0' >>ldemul-tmp.h
16 MoveIfChange ldemul-tmp.h ldemul-list.h
17
This page took 0.031943 seconds and 5 git commands to generate.