aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1994-03-23 20:41:47 +0000
committerStan Shebs <shebs@codesourcery.com>1994-03-23 20:41:47 +0000
commit4ce336af5a27cc7ad34ae0299a3356cf7e0d73c8 (patch)
tree66725c7d9d1752d7605e8b6652e059e51d9ad3f5
parent456961d1bc28411c52833e1d594291a3531542de (diff)
downloadgdb-4ce336af5a27cc7ad34ae0299a3356cf7e0d73c8.zip
gdb-4ce336af5a27cc7ad34ae0299a3356cf7e0d73c8.tar.gz
gdb-4ce336af5a27cc7ad34ae0299a3356cf7e0d73c8.tar.bz2
Simplification of GM-specific config bits.
-rw-r--r--gas/ChangeLog.gm5
-rw-r--r--gas/mpw-xconfig.in36
2 files changed, 18 insertions, 23 deletions
diff --git a/gas/ChangeLog.gm b/gas/ChangeLog.gm
index 6cf9ff3..729861b 100644
--- a/gas/ChangeLog.gm
+++ b/gas/ChangeLog.gm
@@ -1,3 +1,8 @@
+Wed Mar 23 12:39:36 1994 Stan Shebs (shebs@andros.cygnus.com)
+
+ * mpw-xconfig.in: Remove generic forward-includes, put rest of
+ statements inside a mips-idt-ecoff conditional.
+
Mon Jan 31 18:08:16 1994 Stan Shebs (shebs@andros.cygnus.com)
* mpw-xconfig.in: Get opcode/mips.h from the right place.
diff --git a/gas/mpw-xconfig.in b/gas/mpw-xconfig.in
index c28e1e7..dca21c8 100644
--- a/gas/mpw-xconfig.in
+++ b/gas/mpw-xconfig.in
@@ -1,31 +1,21 @@
# Extra configuration fragment for GAS.
-forward-include "{srcdir}"config:atof-ieee.c atof-targ.c
-forward-include "{srcdir}"config:obj-ecoff.c obj-format.c
-forward-include "{srcdir}"config:obj-ecoff.h obj-format.h
-forward-include "{srcdir}"config:tc-mips.c targ-cpu.c
-forward-include "{srcdir}"config:tc-mips.h targ-cpu.h
-forward-include "{srcdir}"config:te-generic.h targ-env.h
+If "{target_canonical}" =~ /mips-idt-ecoff/
+ forward-include "{srcdir}"config:atof-ieee.c atof-targ.c
+ forward-include "{srcdir}"config:obj-ecoff.c obj-format.c
+ forward-include "{srcdir}"config:obj-ecoff.h obj-format.h
+ forward-include "{srcdir}"config:tc-mips.c targ-cpu.c
+ forward-include "{srcdir}"config:tc-mips.h targ-cpu.h
+ forward-include "{srcdir}"config:te-generic.h targ-env.h
-forward-include "{srcroot}"include:aout:stab.def 'aout/stab.def'
-forward-include "{srcroot}"include:aout:stab_gnu.h 'aout/stab_gnu.h'
-forward-include "{srcroot}"include:coff:ecoff.h 'coff/ecoff.h'
-forward-include "{srcroot}"include:coff:internal.h 'coff/internal.h'
-forward-include "{srcroot}"include:coff:mips.h 'coff/mips.h'
-forward-include "{srcroot}"include:coff:sym.h 'coff/sym.h'
-forward-include "{srcroot}"include:coff:symconst.h 'coff/symconst.h'
-forward-include "{srcroot}"bfd:libcoff.h 'bfd/libcoff.h'
-forward-include "{srcroot}"bfd:libecoff.h 'bfd/libecoff.h'
+ echo '#define TARGET_CPU "mips"' >config.new
+ echo '#define TARGET_ALIAS "mips-idt-ecoff"' >>config.new
+ echo '#define TARGET_CANONICAL "mips-idt-ecoff"' >>config.new
+ echo '#define GAS_VERSION "cygnus-2.2.1"' >>config.new
-forward-include "{srcroot}"include:opcode:mips.h 'opcode/mips.h'
+ MoveIfChange config.new config.h
+End If
-echo '#define TARGET_CPU "mips"' >config.new
-echo '#define TARGET_ALIAS "mips-idt-ecoff"' >>config.new
-echo '#define TARGET_CANONICAL "mips-idt-ecoff"' >>config.new
-echo '#define GAS_VERSION "cygnus-2.2.1"' >>config.new
-MoveIfChange config.new config.h
-
-Delete -i config.new