mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 11:04:18 +08:00
* configure.in: Don't configure any subdirs if no simulator
is being built. Don't use erc32 for sparc64. * configure: Regenerated.
This commit is contained in:
parent
5b61a02aae
commit
2a2eda4daf
8
sim/configure
vendored
8
sim/configure
vendored
@ -1318,6 +1318,8 @@ case "${target}" in
|
||||
# end-sanitize-v850
|
||||
w65-*-*) sim_target=w65 ;;
|
||||
z8k*-*-*) sim_target=z8k ;;
|
||||
sparc64-*-*)
|
||||
;; # Don't build erc32 if sparc64.
|
||||
sparc*-*-*)
|
||||
# The SPARC simulator can only be compiled by gcc.
|
||||
sim_target=erc32
|
||||
@ -1345,9 +1347,11 @@ yes)
|
||||
;;
|
||||
esac
|
||||
|
||||
configdirs="common ${sim_target}"
|
||||
subdirs="$configdirs"
|
||||
if test x"${sim_target}" != x ; then
|
||||
configdirs="common ${sim_target}"
|
||||
subdirs="$configdirs"
|
||||
|
||||
fi
|
||||
|
||||
trap '' 1 2 15
|
||||
cat > confcache <<\EOF
|
||||
|
@ -83,6 +83,8 @@ case "${target}" in
|
||||
# end-sanitize-v850
|
||||
w65-*-*) sim_target=w65 ;;
|
||||
z8k*-*-*) sim_target=z8k ;;
|
||||
sparc64-*-*)
|
||||
;; # Don't build erc32 if sparc64.
|
||||
sparc*-*-*)
|
||||
# The SPARC simulator can only be compiled by gcc.
|
||||
sim_target=erc32
|
||||
@ -110,8 +112,10 @@ yes)
|
||||
;;
|
||||
esac
|
||||
|
||||
configdirs="common ${sim_target}"
|
||||
AC_CONFIG_SUBDIRS($configdirs)
|
||||
if test x"${sim_target}" != x ; then
|
||||
configdirs="common ${sim_target}"
|
||||
AC_CONFIG_SUBDIRS($configdirs)
|
||||
fi
|
||||
|
||||
AC_OUTPUT(Makefile)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user