mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-10 17:38:04 +08:00
* configure.in (host==go32): Configure dosrel too.
* Makefile.in (INTALL_TARGET): Call INSTALL_LAST last. (HOST_CC, HOST_PREFIX, HOST_PREFIX_1): Undefine, they should be set by incoming names or templates. (INSTALL_LAST): New rule. * config/mh-go32: New fragment.
This commit is contained in:
@ -37,6 +37,7 @@ mh-apollo68
|
|||||||
mh-decstation
|
mh-decstation
|
||||||
mh-delta88
|
mh-delta88
|
||||||
mh-dgux
|
mh-dgux
|
||||||
|
mh-go32
|
||||||
mh-hp300
|
mh-hp300
|
||||||
mh-hpux
|
mh-hpux
|
||||||
mh-irix4
|
mh-irix4
|
||||||
|
24
config/mh-go32
Normal file
24
config/mh-go32
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
CC=i386-go32-gcc
|
||||||
|
AR=i386-go32-ar
|
||||||
|
RANLIB=i386-go32-ranlib
|
||||||
|
CC_FOR_BUILD=gcc
|
||||||
|
HOST_CC=gcc
|
||||||
|
HOST_CFLAGS=
|
||||||
|
CFLAGS=-O2 -fno-omit-frame-pointer
|
||||||
|
HOST_PREFIX=foo
|
||||||
|
HOST_PREFIX_1=foo
|
||||||
|
RANLIB=i386-go32-ranlib
|
||||||
|
AR=i386-go32-ar
|
||||||
|
GCC_FOR_TARGET=${target}-gcc
|
||||||
|
CC_FOR_TARGET=${target_alias}-gcc
|
||||||
|
AR_FOR_TARGET=${target_alias}-ar
|
||||||
|
RANLIB_FOR_TARGET=${target_alias}-ranlib
|
||||||
|
HOST_PREFIX=cross
|
||||||
|
HOST_PREFIX_1=cross
|
||||||
|
MAKEINFOFLAGS=--no-split
|
||||||
|
|
||||||
|
INSTALL_LAST=install-dosrel
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
12
configure.in
12
configure.in
@ -104,6 +104,7 @@ case "${host}" in
|
|||||||
i[34]86-*-linux*) host_makefile_frag=config/mh-linux ;;
|
i[34]86-*-linux*) host_makefile_frag=config/mh-linux ;;
|
||||||
i[34]86-*-solaris2*) host_makefile_frag=config/mh-sysv4 ;;
|
i[34]86-*-solaris2*) host_makefile_frag=config/mh-sysv4 ;;
|
||||||
i[34]86-*-aix*) host_makefile_frag=config/mh-aix386 ;;
|
i[34]86-*-aix*) host_makefile_frag=config/mh-aix386 ;;
|
||||||
|
i[34]86-*-go32*) host_makefile_frag=config/mh-go32 ;;
|
||||||
vax-*-ultrix2*) host_makefile_frag=config/mh-vaxult2 ;;
|
vax-*-ultrix2*) host_makefile_frag=config/mh-vaxult2 ;;
|
||||||
*-ibm-aix*) host_makefile_frag=config/mh-aix ;;
|
*-ibm-aix*) host_makefile_frag=config/mh-aix ;;
|
||||||
*-bull-bosx*) host_makefile_frag=config/mh-aix ;;
|
*-bull-bosx*) host_makefile_frag=config/mh-aix ;;
|
||||||
@ -160,6 +161,13 @@ else
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Configure extra directories which are host specific
|
||||||
|
|
||||||
|
case "${host}" in
|
||||||
|
i[34]86-*-go32*)
|
||||||
|
configdirs="$configdirs dosrel" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
# Remove more programs from consideration, based on the host or
|
# Remove more programs from consideration, based on the host or
|
||||||
# target this usually means that a port of the program doesn't
|
# target this usually means that a port of the program doesn't
|
||||||
# exist yet.
|
# exist yet.
|
||||||
@ -178,6 +186,10 @@ case "${host}" in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
case "${target}" in
|
case "${target}" in
|
||||||
alpha-dec-osf1*)
|
alpha-dec-osf1*)
|
||||||
noconfigdirs="$noconfigdirs emacs fileutils grep newlib"
|
noconfigdirs="$noconfigdirs emacs fileutils grep newlib"
|
||||||
|
Reference in New Issue
Block a user