sim: sh: move libsim.a creation to top-level
authorMike Frysinger <vapier@gentoo.org>
Tue, 27 Dec 2022 03:29:53 +0000 (22:29 -0500)
committerMike Frysinger <vapier@gentoo.org>
Tue, 10 Jan 2023 06:15:26 +0000 (01:15 -0500)
commitdd719fa642c7ed651346cc34e5ef1c0e9502ba04
tree163836dbbcdde8bac9f55680949ca73e65a5b815
parent15538f651179053854b69e3eab8c31f2d813be7f
sim: sh: 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.  On my 4 core system, it adds ~100msec to the build per
port, so it's not great, but it shouldn't be a big deal.  This will go
away of course once the top-level compiles objects.
sim/Makefile.in
sim/sh/Makefile.in
sim/sh/local.mk