]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
sim: aarch64: remove recursive make entirely users/vapier/sim/am
authorMike Frysinger <vapier@gentoo.org>
Mon, 7 Nov 2022 14:49:03 +0000 (21:49 +0700)
committerMike Frysinger <vapier@gentoo.org>
Thu, 10 Nov 2022 18:44:16 +0000 (01:44 +0700)
sim/configure.ac

index 675fa1bb44d6d05f8569b0fab5dce4a7a8ac7e12..8928bcc6b74cc4c9d844b502bd70064d9b5644d0 100644 (file)
@@ -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])