From: Stan Shebs Date: Sun, 12 Jun 1994 23:59:15 +0000 (+0000) Subject: Conditionalize on mips-idt-ecoff. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9d5baff61bd82e3950a96941b03c97ca0c89a390;p=binutils-gdb.git Conditionalize on mips-idt-ecoff. --- diff --git a/ld/ChangeLog.gm b/ld/ChangeLog.gm index a380b95af33..149b284eb87 100644 --- a/ld/ChangeLog.gm +++ b/ld/ChangeLog.gm @@ -1,3 +1,7 @@ +Sun Jun 12 16:56:45 1994 Stan Shebs (shebs@andros.cygnus.com) + + * mpw-xconfig.in: Only do if target is mips-idt-ecoff. + Mon Feb 28 11:09:48 1994 Stan Shebs (shebs@andros.cygnus.com) * mpw-xconfig.in (emulname): Define. diff --git a/ld/mpw-xconfig.in b/ld/mpw-xconfig.in index 99951eae75b..0ae73ca2042 100644 --- a/ld/mpw-xconfig.in +++ b/ld/mpw-xconfig.in @@ -1,14 +1,16 @@ # Extra configuration fragment for LD. -echo '/* This file is automatically generated. DO NOT EDIT! */' >ldemul-list.h -echo 'extern ld_emulation_xfer_type ld_mipsidt_emulation;' >>ldemul-list.h -echo '#define EMULATION_LIST \' >>ldemul-list.h -echo ' &ld_mipsidt_emulation, \' >>ldemul-list.h -echo ' 0' >>ldemul-list.h +If "{target_canonical}" =~ /mips-idt-ecoff/ + echo '/* This file is automatically generated. DO NOT EDIT! */' >ldemul-list.h + echo 'extern ld_emulation_xfer_type ld_mipsidt_emulation;' >>ldemul-list.h + echo '#define EMULATION_LIST \' >>ldemul-list.h + echo ' &ld_mipsidt_emulation, \' >>ldemul-list.h + echo ' 0' >>ldemul-list.h -forward-include "{srcdir}"mpw-em.c em_mipsidt.c + forward-include "{srcdir}"mpw-em.c em_mipsidt.c -# Set the name of the default emulation - this will get pasted into -# the Makefile. + # Set the name of the default emulation - this will get pasted into + # the Makefile. -Set emulname mipsidt + Set emulname mipsidt +End If