mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
fixed a bug in multiple targets
This commit is contained in:
23
configure
vendored
23
configure
vendored
@ -3,6 +3,9 @@
|
||||
# configure.in and a configure template.
|
||||
configdirs=
|
||||
|
||||
# the debugger.
|
||||
#set -x
|
||||
|
||||
#!/bin/sh
|
||||
|
||||
# Configuration script template
|
||||
@ -279,6 +282,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.
|
||||
@ -287,11 +292,12 @@ for host in ${hosts} ; do
|
||||
for target in ${targets} ; do
|
||||
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo " "target=\"${target}\"
|
||||
echo host \= \"${host}\", target \= \"${target}\".
|
||||
fi
|
||||
|
||||
#### configure.in per-target parts come in here.
|
||||
target_makefile_frag=config/tmake-${target}
|
||||
|
||||
#### configure.in per-target parts come in here.
|
||||
## end of per-target part.
|
||||
|
||||
# Temporarily, we support only direct subdir builds.
|
||||
@ -428,14 +434,6 @@ for host in ${hosts} ; do
|
||||
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
|
||||
@ -599,7 +597,10 @@ exit 0
|
||||
|
||||
#
|
||||
# $Log$
|
||||
# Revision 1.14 1991/05/22 01:44:04 rich
|
||||
# Revision 1.15 1991/05/27 20:54:24 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
|
||||
|
Reference in New Issue
Block a user