diff options
author | Daniel Jacobowitz <drow@false.org> | 2002-02-25 02:49:02 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2002-02-25 02:49:02 +0000 |
commit | 7ea814144a31ec40ca33111cec147bd691c6a93c (patch) | |
tree | 1d05ad94ccf558646e799c0782d640877daf4259 /gdb/gdbserver/configure | |
parent | 080fe24b5824cf41b4f645c1c007dbe3d6eb2239 (diff) | |
download | gdb-7ea814144a31ec40ca33111cec147bd691c6a93c.zip gdb-7ea814144a31ec40ca33111cec147bd691c6a93c.tar.gz gdb-7ea814144a31ec40ca33111cec147bd691c6a93c.tar.bz2 |
2002-02-24 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/configure.srv: New file.
* gdbserver/configure.in: Use configure.srv instead
of the host/target makefile fragments. Set GDBSERVER_DEPFILES
from it.
* gdbserver/configure: Regenerated.
* gdbserver/terminal.h: New file.
* gdbserver/Makefile.in: Update for configure changes. Remove
more unneeded include paths.
Diffstat (limited to 'gdb/gdbserver/configure')
-rwxr-xr-x | gdb/gdbserver/configure | 39 |
1 files changed, 3 insertions, 36 deletions
diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure index a83bb2a..27a340b 100755 --- a/gdb/gdbserver/configure +++ b/gdb/gdbserver/configure @@ -1146,41 +1146,12 @@ fi done -. ${srcdir}/../configure.host - -. ${srcdir}/../configure.tgt - -frags= -host_makefile_frag=${srcdir}/../config/${gdb_host_cpu}/${gdb_host}.mh -if test ! -f ${host_makefile_frag}; then - { echo "configure: error: "*** GDB remote does not support host ${host}"" 1>&2; exit 1; } -fi -frags="$frags $host_makefile_frag" - -target_makefile_frag=${srcdir}/../config/${gdb_target_cpu}/${gdb_target}.mt -if test ! -f ${target_makefile_frag}; then - { echo "configure: error: "*** GDB remote does not support target ${target}"" 1>&2; exit 1; } -fi -frags="$frags $target_makefile_frag" +. ${srcdir}/configure.srv +GDBSERVER_DEPFILES="$srv_regobj $srv_tgtobj" - -hostfile=`sed -n ' -s/XM_FILE[ ]*=[ ]*\([^ ]*\)/\1/p -' ${host_makefile_frag}` - -targetfile=`sed -n ' -s/TM_FILE[ ]*=[ ]*\([^ ]*\)/\1/p -' ${target_makefile_frag}` - -if test "${target}" = "${host}"; then -nativefile=`sed -n ' -s/NAT_FILE[ ]*=[ ]*\([^ ]*\)/\1/p -' ${host_makefile_frag}` -fi - trap '' 1 2 15 cat > confcache <<\EOF # This file is a shell script that caches the results of configure @@ -1334,11 +1305,7 @@ s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g s%@INSTALL_DATA@%$INSTALL_DATA%g s%@CPP@%$CPP%g -/@host_makefile_frag@/r $host_makefile_frag -s%@host_makefile_frag@%%g -/@target_makefile_frag@/r $target_makefile_frag -s%@target_makefile_frag@%%g -s%@frags@%$frags%g +s%@GDBSERVER_DEPFILES@%$GDBSERVER_DEPFILES%g CEOF EOF |