aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1995-05-03 01:43:27 +0000
committerStan Shebs <shebs@codesourcery.com>1995-05-03 01:43:27 +0000
commit33bc979d1764c81a88c5681e4fee0099203bed75 (patch)
treef0272c8a35fcf0922be6e18b8ea87dd3b56d6efb /gdb/configure.in
parent55ac59da2eab55ab8f74d69eab13c36d4da9fd3b (diff)
downloadgdb-33bc979d1764c81a88c5681e4fee0099203bed75.zip
gdb-33bc979d1764c81a88c5681e4fee0099203bed75.tar.gz
gdb-33bc979d1764c81a88c5681e4fee0099203bed75.tar.bz2
* configure.in (--enable-netrom): New configuration option.
* Makefile.in (REMOTE_OBS): Rename from REMOTE_O, append value of NETROM_OBS. (NETROM_OBS): New variable. * remote-nrom.c: New file, NetROM target support. * config/a29k/a29k-udi.mt, config/i960/vxworks960.mt: Use REMOTE_OBS instead of REMOTE_O. start-sanitize-arc * config/arc/arc.mt: Ditto. end-sanitize-arc
Diffstat (limited to 'gdb/configure.in')
-rw-r--r--gdb/configure.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/configure.in b/gdb/configure.in
index 52cebd8..cf76597 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -466,6 +466,14 @@ ENABLE_CLIBS = $(TCL) $(TK) $(X11_LIB_SWITCHES) $(X11_LIBS) -lm
fi
# end-sanitize-gdbtk
+if [ "${enable_netrom}" = "yes" ] ; then
+ sed -e '/# End of host and/i\
+\
+NETROM_OBS = remote-nrom.o\
+' < Makefile > Makefile.tem
+ mv -f Makefile.tem Makefile
+fi
+
sed -e '/^TM_FILE[ ]*=/s,^TM_FILE[ ]*=[ ]*,&config/'"${gdb_target_cpu}"'/,
/^XM_FILE[ ]*=/s,^XM_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,
/^NAT_FILE[ ]*=/s,^NAT_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,' <Makefile >Makefile.tmp