sim: modules: trigger generation from top-level
authorMike Frysinger <vapier@gentoo.org>
Sun, 25 Dec 2022 19:40:47 +0000 (14:40 -0500)
committerMike Frysinger <vapier@gentoo.org>
Tue, 10 Jan 2023 06:15:23 +0000 (01:15 -0500)
commit437eeee95c10c613d992fc786350618bbafcdf57
tree80eccebe64f76af4962276700a01830c5f2d7664
parent7dd38e31d67c2548b52bea313ab18e40824c05da
sim: modules: trigger generation from top-level

Add rules for tracking generated subdir modules.c files.  This doesn't
actually generate the file from the top-level, but allows us to add
rules that need to be ordered wrt it.  Once those changes land, we can
rework this to actually generate from the top-level.

This currently builds off of the objects that go into the libsim.a as
we don't build those from the top-level either.  Once we migrate that
up, we can switch this to the source files directly.  It's a bit hacky
overall, but makes it easier to migrate things in smaller chunks, and
we aren't going to keep this logic long term.
18 files changed:
sim/Makefile.in
sim/bpf/local.mk
sim/common/Make-common.in
sim/common/local.mk
sim/cr16/local.mk
sim/cris/local.mk
sim/d10v/local.mk
sim/frv/local.mk
sim/iq2000/local.mk
sim/lm32/local.mk
sim/m32c/local.mk
sim/m32r/local.mk
sim/m68hc11/local.mk
sim/mips/local.mk
sim/mn10300/local.mk
sim/or1k/local.mk
sim/sh/local.mk
sim/v850/local.mk