aboutsummaryrefslogtreecommitdiff
path: root/sim/m32r/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/m32r/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/m32r/Makefile.in')
-rw-r--r--sim/m32r/Makefile.in56
1 files changed, 0 insertions, 56 deletions
diff --git a/sim/m32r/Makefile.in b/sim/m32r/Makefile.in
index d9d8acf..df4f5bf 100644
--- a/sim/m32r/Makefile.in
+++ b/sim/m32r/Makefile.in
@@ -50,63 +50,7 @@ cpu.o cpu2.o cpux.o m32r.o m32r2.o m32rx.o mloop.o mloop2.o mloopx.o sem.o sim-i
arch = m32r
-# M32R objs
-
-M32RBF_INCLUDE_DEPS = \
- $(CGEN_MAIN_CPU_DEPS) \
- cpu.h decode.h eng.h
-
-# FIXME: Use of `mono' is wip.
-mloop.c eng.h: stamp-mloop ; @true
-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 m32rbf -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 $@
-
-# M32RX objs
-
-M32RXF_INCLUDE_DEPS = \
- $(CGEN_MAIN_CPU_DEPS) \
- cpux.h decodex.h engx.h
-
-# FIXME: Use of `mono' is wip.
-mloopx.c engx.h: stamp-xmloop ; @true
-stamp-xmloop: $(srcdir)/../common/genmloop.sh mloopx.in Makefile
- $(ECHO_STAMP) mloopx.c engx.h
- $(SILENCE) $(SHELL) $(srccom)/genmloop.sh -shell $(SHELL) \
- -mono -no-fast -pbb -parallel-write -switch semx-switch.c \
- -cpu m32rxf -infile $(srcdir)/mloopx.in \
- -outfile-suffix x
- $(SILENCE) $(SHELL) $(srcroot)/move-if-change engx.hin engx.h
- $(SILENCE) $(SHELL) $(srcroot)/move-if-change mloopx.cin mloopx.c
- $(SILENCE) touch $@
-
-# M32R2 objs
-
-M32R2F_INCLUDE_DEPS = \
- $(CGEN_MAIN_CPU_DEPS) \
- cpu2.h decode2.h eng2.h
-
-# FIXME: Use of `mono' is wip.
-mloop2.c eng2.h: stamp-2mloop ; @true
-stamp-2mloop: $(srcdir)/../common/genmloop.sh mloop2.in Makefile
- $(ECHO_STAMP) mloop2.c eng2.h
- $(SILENCE) $(SHELL) $(srccom)/genmloop.sh -shell $(SHELL) \
- -mono -no-fast -pbb -parallel-write -switch sem2-switch.c \
- -cpu m32r2f -infile $(srcdir)/mloop2.in \
- -outfile-suffix 2
- $(SILENCE) $(SHELL) $(srcroot)/move-if-change eng2.hin eng2.h
- $(SILENCE) $(SHELL) $(srcroot)/move-if-change mloop2.cin mloop2.c
- $(SILENCE) touch $@
-
m32r-clean:
- rm -f mloop.c eng.h stamp-mloop
- rm -f mloopx.c engx.h stamp-xmloop
- rm -f mloop2.c eng2.h stamp-2mloop
rm -f stamp-arch stamp-cpu stamp-xcpu stamp-2cpu
rm -f tmp-*