diff options
author | Stan Shebs <shebs@codesourcery.com> | 1994-06-26 23:00:20 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1994-06-26 23:00:20 +0000 |
commit | c71f57835c64be2ce0bd3ae48a98b285f2600c40 (patch) | |
tree | 9ed0e486b9386df2efdfcb51a5c7ddc867e6ecc8 /bfd/mpw-config.in | |
parent | 941af9ce950e1cfda0ffbde8cd60d6d5aaf3a102 (diff) | |
download | gdb-c71f57835c64be2ce0bd3ae48a98b285f2600c40.zip gdb-c71f57835c64be2ce0bd3ae48a98b285f2600c40.tar.gz gdb-c71f57835c64be2ce0bd3ae48a98b285f2600c40.tar.bz2 |
* mpw-config.in: Use sed instead of StreamEdit, add definitions
for mips target.
* mpw-make.in: Remove mips targets definitions, add rule to
compile with GCC, remove ecoff.c.o and ecofflink.c.o from list of
required object files.
Diffstat (limited to 'bfd/mpw-config.in')
-rw-r--r-- | bfd/mpw-config.in | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/bfd/mpw-config.in b/bfd/mpw-config.in index 88403fd..b70c2f7 100644 --- a/bfd/mpw-config.in +++ b/bfd/mpw-config.in @@ -2,5 +2,13 @@ forward-include "{srcdir}"hosts:mpw.h sysdep.h -StreamEdit -e '/@WORDSIZE@/ Replace /@WORDSIZE@/ "32"' {srcdir}bfd-in2.h >bfd.h-new +sed -e 's/@WORDSIZE@/32/' {srcdir}bfd-in2.h >bfd.h-new MoveIfChange bfd.h-new bfd.h + +If "{target_canonical}" =~ /m68k-aout/ +Else If "{target_canonical}" =~ /mips-idt-ecoff/ + Echo 'WORDSIZE = 32' >"{objdir}"mk.tmp + Echo 'BFD_BACKENDS = "{o}"coff-mips.c.o "{o}"ecoff.c.o "{o}"ecofflink.c.o' >>"{objdir}"mk.tmp + Echo 'BFD_MACHINES = "{o}"cpu-mips.c.o' >>"{objdir}"mk.tmp + Echo 'TDEFAULTS = -d DEFAULT_VECTOR=ecoff_big_vec -d SELECT_VECS=&ecoff_big_vec,&ecoff_little_vec -d SELECT_ARCHITECTURES=bfd_mips_arch' >>"{objdir}"mk.tmp +End If |