aboutsummaryrefslogtreecommitdiff
path: root/target/hppa/Makefile.objs
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2018-02-11 17:14:10 -0800
committerRichard Henderson <richard.henderson@linaro.org>2019-02-12 08:48:27 -0800
commit40f9f908ef4e32a6163ccdb0450872951bfc3731 (patch)
tree97c3b04191b9001bd3adedff8b8a7da54cd7a3be /target/hppa/Makefile.objs
parent312347683cb4225a2e6001d18e0a8a67d3f8727b (diff)
downloadqemu-40f9f908ef4e32a6163ccdb0450872951bfc3731.zip
qemu-40f9f908ef4e32a6163ccdb0450872951bfc3731.tar.gz
qemu-40f9f908ef4e32a6163ccdb0450872951bfc3731.tar.bz2
target/hppa: Begin using scripts/decodetree.py
Convert the BREAK instruction to start. Tested-by: Helge Deller <deller@gmx.de> Tested-by: Sven Schnelle <svens@stackframe.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/hppa/Makefile.objs')
-rw-r--r--target/hppa/Makefile.objs8
1 files changed, 8 insertions, 0 deletions
diff --git a/target/hppa/Makefile.objs b/target/hppa/Makefile.objs
index 3359da5..174f50a 100644
--- a/target/hppa/Makefile.objs
+++ b/target/hppa/Makefile.objs
@@ -1,3 +1,11 @@
obj-y += translate.o helper.o cpu.o op_helper.o gdbstub.o mem_helper.o
obj-y += int_helper.o
obj-$(CONFIG_SOFTMMU) += machine.o
+
+DECODETREE = $(SRC_PATH)/scripts/decodetree.py
+
+target/hppa/decode.inc.c: $(SRC_PATH)/target/hppa/insns.decode $(DECODETREE)
+ $(call quiet-command,\
+ $(PYTHON) $(DECODETREE) -o $@ $<, "GEN", $(TARGET_DIR)$@)
+
+target/hppa/translate.o: target/hppa/decode.inc.c