aboutsummaryrefslogtreecommitdiff
path: root/target/openrisc/Makefile.objs
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2018-05-15 11:11:36 +0100
committerPeter Maydell <peter.maydell@linaro.org>2018-05-15 11:11:36 +0100
commit46cc2fc4f591f30adf74cdaf63edc53a463ebbd1 (patch)
treef33546d603c40c149f114693f33da646549bcab7 /target/openrisc/Makefile.objs
parentf39ddb3a08df2d2573d6aff062190f093912f9ef (diff)
parentc7b6f54bf8d6d0e847230998d09495c73eeac9aa (diff)
downloadqemu-46cc2fc4f591f30adf74cdaf63edc53a463ebbd1.zip
qemu-46cc2fc4f591f30adf74cdaf63edc53a463ebbd1.tar.gz
qemu-46cc2fc4f591f30adf74cdaf63edc53a463ebbd1.tar.bz2
Merge remote-tracking branch 'remotes/rth/tags/tgt-openrisc-pull-request' into staging
Convert openrisc to decodetree.py # gpg: Signature made Mon 14 May 2018 23:25:40 BST # gpg: using RSA key 64DF38E8AF7E215F # gpg: Good signature from "Richard Henderson <richard.henderson@linaro.org>" # Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A 05C0 64DF 38E8 AF7E 215F * remotes/rth/tags/tgt-openrisc-pull-request: target/openrisc: Merge disas_openrisc_insn target/openrisc: Convert dec_float target/openrisc: Convert dec_compi target/openrisc: Convert dec_comp target/openrisc: Convert dec_M target/openrisc: Convert dec_logic target/openrisc: Convert dec_mac target/openrisc: Convert dec_calc target/openrisc: Convert remainder of dec_misc insns target/openrisc: Convert memory insns target/openrisc: Convert branch insns target/openrisc: Start conversion to decodetree.py target-openrisc: Write back result before FPE exception Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/openrisc/Makefile.objs')
-rw-r--r--target/openrisc/Makefile.objs9
1 files changed, 9 insertions, 0 deletions
diff --git a/target/openrisc/Makefile.objs b/target/openrisc/Makefile.objs
index 918b1c6..1b98a91 100644
--- a/target/openrisc/Makefile.objs
+++ b/target/openrisc/Makefile.objs
@@ -3,3 +3,12 @@ obj-y += cpu.o exception.o interrupt.o mmu.o translate.o
obj-y += exception_helper.o fpu_helper.o \
interrupt_helper.o mmu_helper.o sys_helper.o
obj-y += gdbstub.o
+
+DECODETREE = $(SRC_PATH)/scripts/decodetree.py
+
+target/openrisc/decode.inc.c: \
+ $(SRC_PATH)/target/openrisc/insns.decode $(DECODETREE)
+ $(call quiet-command,\
+ $(PYTHON) $(DECODETREE) -o $@ $<, "GEN", $(TARGET_DIR)$@)
+
+target/openrisc/translate.o: target/openrisc/decode.inc.c