summaryrefslogtreecommitdiff
path: root/sim/m32c/Makefile.in
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-10-31 02:08:38 -0400
committerMike Frysinger <vapier@gentoo.org>2021-11-02 22:59:07 -0400
commit70ab6bdd55540779cda498611010b61619f1758a (patch)
tree82dd6eefdcfb8439a5435f3e0862e286e1560fc5 /sim/m32c/Makefile.in
parentb50f43349841643ae5fad7110fc37cb432a45208 (diff)
downloadbinutils-gdb-70ab6bdd55540779cda498611010b61619f1758a.tar.gz
sim: hoist gencode & opc2c build 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.
Diffstat (limited to 'sim/m32c/Makefile.in')
-rw-r--r--sim/m32c/Makefile.in23
1 files changed, 0 insertions, 23 deletions
diff --git a/sim/m32c/Makefile.in b/sim/m32c/Makefile.in
index cfdadd04104..c5b1495c705 100644
--- a/sim/m32c/Makefile.in
+++ b/sim/m32c/Makefile.in
@@ -41,26 +41,3 @@ SIM_OBJS = \
$(ENDLIST)
## COMMON_POST_CONFIG_FRAG
-
-arch = m32c
-
-# opc2c leaks memory, and therefore makes AddressSanitizer unhappy. Disable
-# leak detection while running it.
-OPC2C = ASAN_OPTIONS=detect_leaks=0 ./opc2c
-
-r8c.c : r8c.opc opc2c
- $(ECHO_GEN) $(OPC2C) -l r8c.out $(srcdir)/r8c.opc > r8c.c.tmp
- $(SILENCE) mv r8c.c.tmp r8c.c
-
-m32c.c : m32c.opc opc2c
- $(ECHO_GEN) $(OPC2C) -l m32c.out $(srcdir)/m32c.opc > m32c.c.tmp
- $(SILENCE) mv m32c.c.tmp m32c.c
-
-opc2c : opc2c.o
- $(ECHO_CCLD) $(LINK_FOR_BUILD) $^
-
-encodings:
- grep '/\* [01]' $(srcdir)/r8c.opc | sort
-
-opc2c.o : opc2c.c
- $(ECHO_CC) $(COMPILE_FOR_BUILD) -c $(srcdir)/opc2c.c