aboutsummaryrefslogtreecommitdiff
path: root/sim/lm32/Makefile.in
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-10-31 03:29:36 -0400
committerMike Frysinger <vapier@gentoo.org>2021-11-02 22:59:07 -0400
commit0a129eb19a773d930d60b084209570f663db2053 (patch)
treec29451f6fe7b9d2ae8ebc071b7a04fb36033973a /sim/lm32/Makefile.in
parentd2a5dbc744548e173ba1687e1a63a8c2196c7122 (diff)
downloadfsf-binutils-gdb-0a129eb19a773d930d60b084209570f663db2053.zip
fsf-binutils-gdb-0a129eb19a773d930d60b084209570f663db2053.tar.gz
fsf-binutils-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/lm32/Makefile.in')
-rw-r--r--sim/lm32/Makefile.in12
1 files changed, 0 insertions, 12 deletions
diff --git a/sim/lm32/Makefile.in b/sim/lm32/Makefile.in
index 642c483a..d827b71 100644
--- a/sim/lm32/Makefile.in
+++ b/sim/lm32/Makefile.in
@@ -35,19 +35,7 @@ LM32BF_INCLUDE_DEPS = \
$(CGEN_MAIN_CPU_DEPS) \
cpu.h decode.h eng.h
-# FIXME: Use of `mono' is wip.
-mloop.c eng.h: stamp-mloop
-stamp-mloop: $(srcdir)/../common/genmloop.sh mloop.in Makefile
- $(ECHO_STAMP) mloop.c eng.h
- $(SILENCE) $(SHELL) $(srccom)/genmloop.sh -shell $(SHELL) \
- -mono -fast -pbb -switch sem-switch.c \
- -cpu lm32bf -infile $(srcdir)/mloop.in
- $(SILENCE) $(SHELL) $(srcroot)/move-if-change eng.hin eng.h
- $(SILENCE) $(SHELL) $(srcroot)/move-if-change mloop.cin mloop.c
- $(SILENCE) touch $@
-
lm32-clean:
- rm -f mloop.c eng.h stamp-mloop
rm -f stamp-arch stamp-cpu
rm -f tmp-*