mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-17 13:10:12 +08:00
Fixed a problem with host dependent parts.
This commit is contained in:
parent
2b34da49e5
commit
04dc1a6246
22
bfd/configure
vendored
22
bfd/configure
vendored
@ -178,11 +178,6 @@ fi
|
||||
srctrigger=libbfd.c
|
||||
srcname="bfd"
|
||||
|
||||
# per-host:
|
||||
|
||||
|
||||
files=
|
||||
links=
|
||||
## end of common part
|
||||
|
||||
# are we rebuilding config itself?
|
||||
@ -210,11 +205,15 @@ if [ -n "${template}" ] ; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
sed -e '/^# per\-target:/,$d' configure.in > configure.com
|
||||
# split configure.in into common, per-host, and per-target parts
|
||||
sed -e '/^# per\-host:/,$d' configure.in > configure.com
|
||||
sed -e '1,/^# per\-host:/d' -e '/^# per\-target:/,$d' configure.in > configure.hst
|
||||
sed -e '1,/^# per\-target:/d' configure.in > configure.tgt
|
||||
|
||||
sed -e '/^#### configure.in common parts/ r configure.com' \
|
||||
-e '/^#### / r configure.tgt' \
|
||||
# and insert them
|
||||
sed -e '/^#### configure.in common part/ r configure.com' \
|
||||
-e '/^#### configure.in per\-host part/ r configure.hst' \
|
||||
-e '/^#### configure.in per\-target part/ r configure.tgt' \
|
||||
${template} >> configure
|
||||
|
||||
rm -f configure.com configure.tgt configure.hst
|
||||
@ -267,8 +266,6 @@ for host in ${hosts} ; do
|
||||
|
||||
#### configure.in per-host parts come in here.
|
||||
|
||||
files=
|
||||
links=
|
||||
## end of per-target part
|
||||
|
||||
|
||||
@ -557,7 +554,10 @@ exit 0
|
||||
|
||||
#
|
||||
# $Log$
|
||||
# Revision 1.6 1991/04/16 00:04:34 rich
|
||||
# Revision 1.7 1991/04/17 01:41:18 rich
|
||||
# Fixed a problem with host dependent parts.
|
||||
#
|
||||
# Revision 1.6 1991/04/16 00:18:44 rich
|
||||
# Now handles multiple hosts and targets.
|
||||
#
|
||||
# Revision 1.5 1991/04/15 23:43:44 rich
|
||||
|
24
binutils/configure
vendored
24
binutils/configure
vendored
@ -178,12 +178,6 @@ fi
|
||||
srctrigger=ar.c
|
||||
srcname="binutils"
|
||||
|
||||
# per-host:
|
||||
|
||||
|
||||
files=
|
||||
links=
|
||||
|
||||
## end of common part
|
||||
|
||||
# are we rebuilding config itself?
|
||||
@ -211,11 +205,15 @@ if [ -n "${template}" ] ; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
sed -e '/^# per\-target:/,$d' configure.in > configure.com
|
||||
# split configure.in into common, per-host, and per-target parts
|
||||
sed -e '/^# per\-host:/,$d' configure.in > configure.com
|
||||
sed -e '1,/^# per\-host:/d' -e '/^# per\-target:/,$d' configure.in > configure.hst
|
||||
sed -e '1,/^# per\-target:/d' configure.in > configure.tgt
|
||||
|
||||
sed -e '/^#### configure.in common parts/ r configure.com' \
|
||||
-e '/^#### / r configure.tgt' \
|
||||
# and insert them
|
||||
sed -e '/^#### configure.in common part/ r configure.com' \
|
||||
-e '/^#### configure.in per\-host part/ r configure.hst' \
|
||||
-e '/^#### configure.in per\-target part/ r configure.tgt' \
|
||||
${template} >> configure
|
||||
|
||||
rm -f configure.com configure.tgt configure.hst
|
||||
@ -268,9 +266,6 @@ for host in ${hosts} ; do
|
||||
|
||||
#### configure.in per-host parts come in here.
|
||||
|
||||
files=
|
||||
links=
|
||||
|
||||
## end of per-target part
|
||||
|
||||
|
||||
@ -560,7 +555,10 @@ exit 0
|
||||
|
||||
#
|
||||
# $Log$
|
||||
# Revision 1.6 1991/04/16 00:04:50 rich
|
||||
# Revision 1.7 1991/04/17 01:41:03 rich
|
||||
# Fixed a problem with host dependent parts.
|
||||
#
|
||||
# Revision 1.6 1991/04/16 00:18:44 rich
|
||||
# Now handles multiple hosts and targets.
|
||||
#
|
||||
# Revision 1.5 1991/04/15 23:43:44 rich
|
||||
|
126
gas/configure
vendored
126
gas/configure
vendored
@ -178,63 +178,6 @@ fi
|
||||
srctrigger=as.c
|
||||
srcname="gas"
|
||||
|
||||
# per-host:
|
||||
|
||||
|
||||
# assign cpu type
|
||||
case ${target} in
|
||||
sun4* | sparc*)
|
||||
cpu_type=sparc
|
||||
;;
|
||||
sun3*)
|
||||
cpu_type=m68k
|
||||
;;
|
||||
i386*)
|
||||
cpu_type=i386
|
||||
;;
|
||||
i960*)
|
||||
cpu_type=i960
|
||||
;;
|
||||
a29k*)
|
||||
cpu_type=a29k
|
||||
;;
|
||||
*)
|
||||
cpu_type=generic
|
||||
;;
|
||||
esac
|
||||
|
||||
# assign object format
|
||||
case ${target} in
|
||||
*-coff)
|
||||
obj_format=coff
|
||||
;;
|
||||
*-bout)
|
||||
obj_format=bout
|
||||
;;
|
||||
generic)
|
||||
obj_format=generic
|
||||
;;
|
||||
*)
|
||||
obj_format=aout
|
||||
;;
|
||||
esac
|
||||
|
||||
# assign floating point type
|
||||
case ${target} in
|
||||
vax)
|
||||
atof=vax
|
||||
;;
|
||||
*)
|
||||
atof=ieee
|
||||
;;
|
||||
esac
|
||||
|
||||
files="config/ho-${host}.h config/tc-${cpu_type}.c \
|
||||
config/tc-${cpu_type}.h config/te-generic.h \
|
||||
config/obj-${obj_format}.h config/obj-${obj_format}.c \
|
||||
config/atof-${atof}.c"
|
||||
|
||||
links="host.h targ-cpu.c targ-cpu.h targ-env.h obj-format.h obj-format.c atof-targ.c"
|
||||
## end of common part
|
||||
|
||||
# are we rebuilding config itself?
|
||||
@ -262,11 +205,15 @@ if [ -n "${template}" ] ; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
sed -e '/^# per\-target:/,$d' configure.in > configure.com
|
||||
# split configure.in into common, per-host, and per-target parts
|
||||
sed -e '/^# per\-host:/,$d' configure.in > configure.com
|
||||
sed -e '1,/^# per\-host:/d' -e '/^# per\-target:/,$d' configure.in > configure.hst
|
||||
sed -e '1,/^# per\-target:/d' configure.in > configure.tgt
|
||||
|
||||
sed -e '/^#### configure.in common parts/ r configure.com' \
|
||||
-e '/^#### / r configure.tgt' \
|
||||
# and insert them
|
||||
sed -e '/^#### configure.in common part/ r configure.com' \
|
||||
-e '/^#### configure.in per\-host part/ r configure.hst' \
|
||||
-e '/^#### configure.in per\-target part/ r configure.tgt' \
|
||||
${template} >> configure
|
||||
|
||||
rm -f configure.com configure.tgt configure.hst
|
||||
@ -319,60 +266,6 @@ for host in ${hosts} ; do
|
||||
|
||||
#### configure.in per-host parts come in here.
|
||||
|
||||
# assign cpu type
|
||||
case ${target} in
|
||||
sun4* | sparc*)
|
||||
cpu_type=sparc
|
||||
;;
|
||||
sun3*)
|
||||
cpu_type=m68k
|
||||
;;
|
||||
i386*)
|
||||
cpu_type=i386
|
||||
;;
|
||||
i960*)
|
||||
cpu_type=i960
|
||||
;;
|
||||
a29k*)
|
||||
cpu_type=a29k
|
||||
;;
|
||||
*)
|
||||
cpu_type=generic
|
||||
;;
|
||||
esac
|
||||
|
||||
# assign object format
|
||||
case ${target} in
|
||||
*-coff)
|
||||
obj_format=coff
|
||||
;;
|
||||
*-bout)
|
||||
obj_format=bout
|
||||
;;
|
||||
generic)
|
||||
obj_format=generic
|
||||
;;
|
||||
*)
|
||||
obj_format=aout
|
||||
;;
|
||||
esac
|
||||
|
||||
# assign floating point type
|
||||
case ${target} in
|
||||
vax)
|
||||
atof=vax
|
||||
;;
|
||||
*)
|
||||
atof=ieee
|
||||
;;
|
||||
esac
|
||||
|
||||
files="config/ho-${host}.h config/tc-${cpu_type}.c \
|
||||
config/tc-${cpu_type}.h config/te-generic.h \
|
||||
config/obj-${obj_format}.h config/obj-${obj_format}.c \
|
||||
config/atof-${atof}.c"
|
||||
|
||||
links="host.h targ-cpu.c targ-cpu.h targ-env.h obj-format.h obj-format.c atof-targ.c"
|
||||
## end of per-target part
|
||||
|
||||
|
||||
@ -713,7 +606,10 @@ exit 0
|
||||
|
||||
#
|
||||
# $Log$
|
||||
# Revision 1.7 1991/04/16 00:04:08 rich
|
||||
# Revision 1.8 1991/04/17 01:40:45 rich
|
||||
# Fixed a problem with host dependent parts.
|
||||
#
|
||||
# Revision 1.6 1991/04/16 00:18:44 rich
|
||||
# Now handles multiple hosts and targets.
|
||||
#
|
||||
# Revision 1.5 1991/04/15 23:43:44 rich
|
||||
|
18
ld/configure
vendored
18
ld/configure
vendored
@ -179,9 +179,6 @@ configdirs=
|
||||
srctrigger=ldversion.c
|
||||
srcname="linker"
|
||||
|
||||
# per-host:
|
||||
|
||||
|
||||
## end of common part
|
||||
|
||||
# are we rebuilding config itself?
|
||||
@ -209,11 +206,15 @@ if [ -n "${template}" ] ; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
sed -e '/^# per\-target:/,$d' configure.in > configure.com
|
||||
# split configure.in into common, per-host, and per-target parts
|
||||
sed -e '/^# per\-host:/,$d' configure.in > configure.com
|
||||
sed -e '1,/^# per\-host:/d' -e '/^# per\-target:/,$d' configure.in > configure.hst
|
||||
sed -e '1,/^# per\-target:/d' configure.in > configure.tgt
|
||||
|
||||
sed -e '/^#### configure.in common parts/ r configure.com' \
|
||||
-e '/^#### / r configure.tgt' \
|
||||
# and insert them
|
||||
sed -e '/^#### configure.in common part/ r configure.com' \
|
||||
-e '/^#### configure.in per\-host part/ r configure.hst' \
|
||||
-e '/^#### configure.in per\-target part/ r configure.tgt' \
|
||||
${template} >> configure
|
||||
|
||||
rm -f configure.com configure.tgt configure.hst
|
||||
@ -552,7 +553,10 @@ exit 0
|
||||
|
||||
#
|
||||
# $Log$
|
||||
# Revision 1.7 1991/04/15 23:57:22 rich
|
||||
# Revision 1.8 1991/04/17 01:41:32 rich
|
||||
# Fixed a problem with host dependent parts.
|
||||
#
|
||||
# Revision 1.6 1991/04/16 00:18:44 rich
|
||||
# Now handles multiple hosts and targets.
|
||||
#
|
||||
# Revision 1.5 1991/04/15 23:43:44 rich
|
||||
|
Loading…
Reference in New Issue
Block a user