aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-11-07 21:49:03 +0700
committerMike Frysinger <vapier@gentoo.org>2022-11-11 01:44:16 +0700
commitabd30f23b0430e0a40348deead57cb1678aeb546 (patch)
treee52bbeed097846c6168754e5727d6ecdaaacd002
parent5894c5944cc1697758d12864040b95b86a308c23 (diff)
downloadgdb-users/vapier/sim/am.zip
gdb-users/vapier/sim/am.tar.gz
gdb-users/vapier/sim/am.tar.bz2
sim: aarch64: remove recursive make entirelyusers/vapier/sim/am
-rw-r--r--sim/configure.ac14
1 files changed, 8 insertions, 6 deletions
diff --git a/sim/configure.ac b/sim/configure.ac
index 675fa1b..8928bcc 100644
--- a/sim/configure.ac
+++ b/sim/configure.ac
@@ -70,7 +70,7 @@ m4_define([SIM_BUILD_TARGET], [dnl
AS_VAR_APPEND([SIM_ENABLED_ARCHES], [" $1"])
m4_if($2, [true], [dnl
AC_CONFIG_SUBDIRS($1)
- ], [dnl
+ ], $2, [false], [], [dnl
AC_CONFIG_FILES($1/Makefile.sim:$1/Makefile.in)
AC_CONFIG_COMMANDS([$1/Makefile],
[sed -n \
@@ -88,10 +88,12 @@ m4_define([SIM_BUILD_TARGET], [dnl
AS_VAR_APPEND([SIM_SUBDIRS], [" $1"])
])
AC_CONFIG_FILES($1/.gdbinit:common/gdbinit.in)
- dnl Create the depdirs for ports until we can convert them to automake.
- AC_CONFIG_COMMANDS([depdir-$1],
- [$SHELL $ac_aux_dir/mkinstalldirs $1/$DEPDIR],
- [ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR])
+ m4_if($2, [false], [], [dnl
+ dnl Create the depdirs for ports until we can convert them to automake.
+ AC_CONFIG_COMMANDS([depdir-$1],
+ [$SHELL $ac_aux_dir/mkinstalldirs $1/$DEPDIR],
+ [ac_aux_dir=$ac_aux_dir DEPDIR=$DEPDIR])
+ ])
])
dnl Enable a particular arch subdir.
dnl arg[1] is the matching target triple.
@@ -125,7 +127,7 @@ if test "${enable_sim}" != no; then
sim_igen=no
for targ in `echo $target $enable_targets | sed 's/,/ /g'`
do
- SIM_TARGET([aarch64*-*-*], [aarch64])
+ SIM_TARGET([aarch64*-*-*], [aarch64], [false])
SIM_TARGET([arm*-*-*], [arm])
SIM_TARGET([avr*-*-*], [avr])
SIM_TARGET([bfin-*-*], [bfin])