mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-29 06:50:32 +00:00
22691fe7be
(ldemul-list.h): Construct. * mpw-make.in (install-only): New target. (install): Depend on install-only.
18 lines
564 B
Plaintext
18 lines
564 B
Plaintext
# Configuration fragment for LD.
|
|
|
|
If "{target_canonical}" =~ /m68k-aout/
|
|
Set emulname m68kaout
|
|
Else If "{target_canonical}" =~ /m68k-coff/
|
|
Set emulname m68kcoff
|
|
Else If "{target_canonical}" =~ /mips-idt-ecoff/
|
|
Set emulname mipsidt
|
|
End If
|
|
|
|
Echo '/* This file is automatically generated. DO NOT EDIT! */' >ldemul-tmp.h
|
|
Echo "extern ld_emulation_xfer_type ld_{emulname}_emulation;" >>ldemul-tmp.h
|
|
Echo '#define EMULATION_LIST \' >>ldemul-tmp.h
|
|
Echo " &ld_{emulname}_emulation, \" >>ldemul-tmp.h
|
|
Echo ' 0' >>ldemul-tmp.h
|
|
MoveIfChange ldemul-tmp.h ldemul-list.h
|
|
|