diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-11-06 21:40:56 +0700 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-12-21 22:21:25 -0500 |
commit | 3d0421178673d74a790637e31fed944bf48aa3aa (patch) | |
tree | 39439636af47f282ad5ce4f71414ba369ab5e44b /sim/bfin/local.mk | |
parent | d47ea1b9c1fb6d57271697f186f7141ef4aa41c4 (diff) | |
download | gdb-3d0421178673d74a790637e31fed944bf48aa3aa.zip gdb-3d0421178673d74a790637e31fed944bf48aa3aa.tar.gz gdb-3d0421178673d74a790637e31fed944bf48aa3aa.tar.bz2 |
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.
Diffstat (limited to 'sim/bfin/local.mk')
-rw-r--r-- | sim/bfin/local.mk | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/sim/bfin/local.mk b/sim/bfin/local.mk index 956b3ae..cab9e79 100644 --- a/sim/bfin/local.mk +++ b/sim/bfin/local.mk @@ -24,6 +24,40 @@ noinst_PROGRAMS += %D%/run +%C%_SIM_EXTRA_HW_DEVICES = \ + bfin_cec \ + bfin_ctimer \ + bfin_dma \ + bfin_dmac \ + bfin_ebiu_amc \ + bfin_ebiu_ddrc \ + bfin_ebiu_sdc \ + bfin_emac \ + bfin_eppi \ + bfin_evt \ + bfin_gpio \ + bfin_gpio2 \ + bfin_gptimer \ + bfin_jtag \ + bfin_mmu \ + bfin_nfc \ + bfin_otp \ + bfin_pfmon \ + bfin_pint \ + bfin_pll \ + bfin_ppi \ + bfin_rtc \ + bfin_sic \ + bfin_spi \ + bfin_trace \ + bfin_twi \ + bfin_uart \ + bfin_uart2 \ + bfin_wdog \ + bfin_wp \ + eth_phy +AM_MAKEFLAGS += %C%_SIM_EXTRA_HW_DEVICES="$(%C%_SIM_EXTRA_HW_DEVICES)" + %D%/linux-fixed-code.h: @MAINT@ $(srcdir)/%D%/linux-fixed-code.s %D%/local.mk %D%/$(am__dirstamp) $(AM_V_GEN)$(AS_FOR_TARGET_BFIN) $(srcdir)/%D%/linux-fixed-code.s -o %D%/linux-fixed-code.o $(AM_V_at)(\ |