aboutsummaryrefslogtreecommitdiff
path: root/ld/mpw-xconfig.in
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1994-06-12 23:59:15 +0000
committerStan Shebs <shebs@codesourcery.com>1994-06-12 23:59:15 +0000
commit9d5baff61bd82e3950a96941b03c97ca0c89a390 (patch)
treef0b08664fbd8a6dc6fcb91d14db7846a01e41d2a /ld/mpw-xconfig.in
parentb06fe940ea06a07cf28489900f1dcdb8e9afeadc (diff)
downloadgdb-9d5baff61bd82e3950a96941b03c97ca0c89a390.zip
gdb-9d5baff61bd82e3950a96941b03c97ca0c89a390.tar.gz
gdb-9d5baff61bd82e3950a96941b03c97ca0c89a390.tar.bz2
Conditionalize on mips-idt-ecoff.
Diffstat (limited to 'ld/mpw-xconfig.in')
-rw-r--r--ld/mpw-xconfig.in20
1 files changed, 11 insertions, 9 deletions
diff --git a/ld/mpw-xconfig.in b/ld/mpw-xconfig.in
index 99951ea..0ae73ca 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