sim: ppc: move libsim.a creation to top-level

The objects are still compiled in the subdir, but the creation of the
archive itself is in the top-level.  This is a required step before we
can move compilation itself up, and makes it easier to review.

The downside is that each object compile is a recursive make instead of
a single one.  It adds some overhead, so it's not great, but it shouldn't
be a big deal.  This will go away once compilation is hoisted up.
This commit is contained in:
Mike Frysinger
2024-01-02 09:50:43 -05:00
parent e0e9cd645f
commit 01c2a7aa69
5 changed files with 141 additions and 35 deletions

1
sim/configure vendored
View File

@@ -15502,7 +15502,6 @@ fi
as_fn_append SIM_ENABLED_ARCHES " ppc"
ac_config_files="$ac_config_files ppc/Makefile"
subdirs="$subdirs ppc"
ac_config_files="$ac_config_files ppc/.gdbinit:common/gdbinit.in"