Conditionalize on mips-idt-ecoff.
authorStan Shebs <shebs@codesourcery.com>
Sun, 12 Jun 1994 23:59:15 +0000 (23:59 +0000)
committerStan Shebs <shebs@codesourcery.com>
Sun, 12 Jun 1994 23:59:15 +0000 (23:59 +0000)
ld/ChangeLog.gm
ld/mpw-xconfig.in

index a380b95af33f76b946488111b65aa9244c1de59e..149b284eb87a256c0852f9c17a7694548a7a0e5d 100644 (file)
@@ -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.
index 99951eae75b8b3e632bc8a0fe835d3794725a04c..0ae73ca2042527a649787444ce069ade2d0c5b66 100644 (file)
@@ -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
This page took 0.024846 seconds and 4 git commands to generate.