diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-10-31 03:29:36 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-11-02 22:59:07 -0400 |
commit | 0a129eb19a773d930d60b084209570f663db2053 (patch) | |
tree | c29451f6fe7b9d2ae8ebc071b7a04fb36033973a /sim/Makefile.am | |
parent | d2a5dbc744548e173ba1687e1a63a8c2196c7122 (diff) | |
download | gdb-0a129eb19a773d930d60b084209570f663db2053.zip gdb-0a129eb19a773d930d60b084209570f663db2053.tar.gz gdb-0a129eb19a773d930d60b084209570f663db2053.tar.bz2 |
sim: hoist cgen mloop rules up to common builds
These rules don't depend on the target compiler settings, so hoist
the build logic up to the common builds for better parallelization.
We have to extend the genmloop.sh logic a bit to allow outputting
to a subdir since it always assumed cwd was the right place.
We leave the cgen maintainer rules in the subdirs for now as they
aren't normally run, and they rely on cgen logic that has not yet
been generalized.
Diffstat (limited to 'sim/Makefile.am')
-rw-r--r-- | sim/Makefile.am | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/sim/Makefile.am b/sim/Makefile.am index c04f948..fd4b768 100644 --- a/sim/Makefile.am +++ b/sim/Makefile.am @@ -18,6 +18,7 @@ AUTOMAKE_OPTIONS = dejagnu foreign no-dist subdir-objects ACLOCAL_AMFLAGS = -Im4 -I.. -I../config +srccom = $(srcdir)/common srcroot = $(srcdir)/.. SUBDIRS = @subdirs@ $(SIM_SUBDIRS) @@ -55,7 +56,7 @@ SIM_ALL_RECURSIVE_DEPS = # An alternative is to slurp in the tables at runtime. .PHONY: nltvals nltvals: - $(srcdir)/common/gennltvals.py --cpp "$(CPP)" + $(srccom)/gennltvals.py --cpp "$(CPP)" pkginclude_HEADERS = \ $(srcroot)/include/sim/callback.h \ @@ -67,21 +68,42 @@ include igen/local.mk endif include testsuite/local.mk +if SIM_ENABLE_ARCH_bpf +include bpf/local.mk +endif if SIM_ENABLE_ARCH_cr16 include cr16/local.mk endif +if SIM_ENABLE_ARCH_cris +include cris/local.mk +endif if SIM_ENABLE_ARCH_d10v include d10v/local.mk endif +if SIM_ENABLE_ARCH_frv +include frv/local.mk +endif +if SIM_ENABLE_ARCH_iq2000 +include iq2000/local.mk +endif +if SIM_ENABLE_ARCH_lm32 +include lm32/local.mk +endif if SIM_ENABLE_ARCH_m32c include m32c/local.mk endif +if SIM_ENABLE_ARCH_m32r +include m32r/local.mk +endif if SIM_ENABLE_ARCH_m68hc11 include m68hc11/local.mk endif if SIM_ENABLE_ARCH_mn10300 include mn10300/local.mk endif +if SIM_ENABLE_ARCH_or1k +include or1k/local.mk +endif if SIM_ENABLE_ARCH_sh include sh/local.mk endif |