aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1991-05-27 20:54:50 +0000
committerK. Richard Pixley <rich@cygnus>1991-05-27 20:54:50 +0000
commit6c18e39366ff442912ba8ae828f73ad2d7a7e4d4 (patch)
tree5eb111ec14e45aba325d9c05a1f8a6f49ece0eff /gas
parent1fb48a6c68bff7917008d44eefd15affc0df346b (diff)
downloadgdb-6c18e39366ff442912ba8ae828f73ad2d7a7e4d4.zip
gdb-6c18e39366ff442912ba8ae828f73ad2d7a7e4d4.tar.gz
gdb-6c18e39366ff442912ba8ae828f73ad2d7a7e4d4.tar.bz2
fixed a bug in multiple targets
Diffstat (limited to 'gas')
-rwxr-xr-xgas/configure28
1 files changed, 18 insertions, 10 deletions
diff --git a/gas/configure b/gas/configure
index 13ebba7..d6b2356 100755
--- a/gas/configure
+++ b/gas/configure
@@ -3,6 +3,9 @@
# configure.in and a configure template.
configdirs=
+# the debugger.
+#set -x
+
#!/bin/sh
# Configuration script template
@@ -278,6 +281,8 @@ for host in ${hosts} ; do
defaulttargets=true
fi
+ host_makefile_frag=config/hmake-${host}
+
#### configure.in per-host parts come in here.
## end of per-host part.
@@ -286,9 +291,11 @@ for host in ${hosts} ; do
for target in ${targets} ; do
if [ -n "${verbose}" ] ; then
- echo " "target=\"${target}\"
+ echo host \= \"${host}\", target \= \"${target}\".
fi
+ target_makefile_frag=config/tmake-${target}
+
#### configure.in per-target parts come in here.
# assign cpu type
@@ -481,14 +488,6 @@ links="host.h targ-cpu.c targ-cpu.h targ-env.h obj-format.h obj-format.c atof-ta
cat ${srcdir}/Makefile.in >> Makefile
# and shake thoroughly.
- if [ -z "${host_makefile_frag}" ] ; then
- host_makefile_frag=config/hmake-${host}
- fi
-
- if [ -z "${target_makefile_frag}" ] ; then
- target_makefile_frag=config/tmake-${target}
- fi
-
# Conditionalize the makefile for this host.
if [ -f ${srcdir}/${host_makefile_frag} ] ; then
sed -e "/^####/ r ${srcdir}/${host_makefile_frag}" Makefile > Makefile.tem
@@ -652,7 +651,16 @@ exit 0
#
# $Log$
-# Revision 1.10 1991/05/19 00:31:35 rich
+# Revision 1.11 1991/05/27 20:54:32 rich
+# fixed a bug in multiple targets
+#
+# Revision 1.14 1991/05/22 01:44:04 rich
+# remove gdb until config issues resolve.
+#
+# Revision 1.13 1991/05/19 08:00:09 rich
+# Added gdb.
+#
+# Revision 1.12 1991/05/19 00:32:13 rich
# Changes to deal with missing subdirs gracefully, and changes dictated
# from dropping configure over gdb.
#