diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-12-19 19:54:13 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-12-20 21:24:40 -0500 |
commit | 09d4e6bb2fe97ea03e881405c5e8960cd5fd3263 (patch) | |
tree | b7dca9fd90e7ce5805925b7a6224178151fb5e72 /sim/common | |
parent | 515603a73285cc714f7a82e6b486c5d57634c10f (diff) | |
download | gdb-09d4e6bb2fe97ea03e881405c5e8960cd5fd3263.zip gdb-09d4e6bb2fe97ea03e881405c5e8960cd5fd3263.tar.gz gdb-09d4e6bb2fe97ea03e881405c5e8960cd5fd3263.tar.bz2 |
sim: cgen: unify the genmloop logic a bit
Pull out the common parts of the genmloop invocation into the common
code. This will make it easier to add more, and make the per-port
differences a little more obvious.
Diffstat (limited to 'sim/common')
-rw-r--r-- | sim/common/local.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sim/common/local.mk b/sim/common/local.mk index 08da227..8124910 100644 --- a/sim/common/local.mk +++ b/sim/common/local.mk @@ -232,3 +232,8 @@ CGEN_GEN_CPU_DESC = \ $(CGEN) $(cgendir) "$(CGENFLAGS)" \ $(@D) "$$FLAGS" $$cpu "$$isa" $$mach "$$SUFFIX" \ $(CGEN_ARCHFILE) ignored $$opcfile + +CGEN_GEN_MLOOP = \ + $(SHELL) $(srccom)/genmloop.sh \ + -shell $(SHELL) \ + -infile $< -outfile-prefix $(@D)/ |