sim: build: hoist lists of hw devices up
authorMike Frysinger <vapier@gentoo.org>
Sun, 6 Nov 2022 14:40:56 +0000 (21:40 +0700)
committerMike Frysinger <vapier@gentoo.org>
Thu, 22 Dec 2022 03:21:25 +0000 (22:21 -0500)
commit3d0421178673d74a790637e31fed944bf48aa3aa
tree39439636af47f282ad5ce4f71414ba369ab5e44b
parentd47ea1b9c1fb6d57271697f186f7141ef4aa41c4
sim: build: hoist lists of hw devices up

We need these in the top-level to generate libsim.a, but also in the
subdirs to generate hw-config.h.  Move it to the local.mk, and pass
it down when running recursive make.  This avoids duplication, and
makes it available to both.  We can simplify this once we move the
various steps up to the top-level too.
16 files changed:
sim/Makefile.in
sim/bfin/Makefile.in
sim/bfin/local.mk
sim/common/Make-common.in
sim/cris/Makefile.in
sim/cris/local.mk
sim/lm32/Makefile.in
sim/lm32/local.mk
sim/m32r/Makefile.in
sim/m32r/local.mk
sim/m68hc11/Makefile.in
sim/m68hc11/local.mk
sim/mips/Makefile.in
sim/mips/local.mk
sim/mn10300/Makefile.in
sim/mn10300/local.mk