sim: .gdbinit: generate for all arch subdirs

This was being skipped for ports that had a recursive configure,
but we want it for them too.
This commit is contained in:
Mike Frysinger
2022-11-07 21:49:53 +07:00
parent 2ba09f42f1
commit 23912acd40
3 changed files with 181 additions and 144 deletions

View File

@@ -71,7 +71,6 @@ m4_define([SIM_BUILD_TARGET], [dnl
m4_if($2, [true], [dnl
AC_CONFIG_SUBDIRS($1)
], [dnl
AC_CONFIG_FILES($1/.gdbinit:common/gdbinit.in)
AC_CONFIG_FILES($1/Makefile.sim:$1/Makefile.in)
AC_CONFIG_COMMANDS([$1/Makefile],
[sed -n \
@@ -88,6 +87,7 @@ 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],