aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.tgt
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-11-17 01:02:01 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-11-17 01:02:01 +0000
commitd0c678e6de1230671406e8b9fde61d1d471769c7 (patch)
tree7e8fa076c83308f54423dfdda19c4ed32134419c /gdb/configure.tgt
parent6ca0852e7a0010edcf20292ab79c8c42c74b5567 (diff)
downloadgdb-d0c678e6de1230671406e8b9fde61d1d471769c7.zip
gdb-d0c678e6de1230671406e8b9fde61d1d471769c7.tar.gz
gdb-d0c678e6de1230671406e8b9fde61d1d471769c7.tar.bz2
* configure.ac (--enable-targets): New configure option.
Collect gdb_target_obs of multiple targets into TARGET_OBS. Call configure.tgt multiple times, using $targ as operand. * configure.tgt: Operate on $targ instead of $target. * configure: Regenerate. * Makefile.in (ALL_TARGET_OBS): Define. * NEWS: Mention --enable-targets option.
Diffstat (limited to 'gdb/configure.tgt')
-rw-r--r--gdb/configure.tgt8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index 69e0b0e..1448f19 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -7,7 +7,7 @@
# gdb_osabi default OS ABI to use with target
# build_gdbserver set to "yes" if gdbserver supports target
-case $target in
+case $targ in
d10v-*-* | \
hppa*-*-hiux* | \
i[34567]86-ncr-* | \
@@ -19,7 +19,7 @@ case $target in
rs6000-*-lynxos* | \
sh*-*-pe | \
null)
- echo "*** Configuration $target is obsolete." >&2
+ echo "*** Configuration $targ is obsolete." >&2
echo "*** Support has been REMOVED." >&2
exit 1
;;
@@ -27,7 +27,7 @@ esac
# map target info into gdb names.
-case "${target}" in
+case "${targ}" in
alpha*-*-osf*)
# Target: Little-endian Alpha running OSF/1
@@ -521,7 +521,7 @@ esac
# map target onto default OS ABI
-case "${target}" in
+case "${targ}" in
*-*-freebsd*) gdb_osabi=GDB_OSABI_FREEBSD_ELF ;;
*-*-linux*) gdb_osabi=GDB_OSABI_LINUX ;;
*-*-nto*) gdb_osabi=GDB_OSABI_QNXNTO ;;