]> git.proxmox.com Git - mirror_qemu.git/blobdiff - target/openrisc/Makefile.objs
meson: convert hw/arch*
[mirror_qemu.git] / target / openrisc / Makefile.objs
index 397d01650e838f61a74ff86ce40aaa1feaee2e27..423d64512eeb75a98d5d62740693ad4f952ca946 100644 (file)
@@ -1,5 +1,15 @@
 obj-$(CONFIG_SOFTMMU) += machine.o
-obj-y += cpu.o exception.o interrupt.o mmu.o translate.o
-obj-y += exception_helper.o fpu_helper.o int_helper.o \
-         interrupt_helper.o mmu_helper.o sys_helper.o
+obj-y += cpu.o exception.o interrupt.o mmu.o translate.o disas.o
+obj-y += exception_helper.o fpu_helper.o \
+         interrupt_helper.o sys_helper.o
 obj-y += gdbstub.o
+
+DECODETREE = $(SRC_PATH)/scripts/decodetree.py
+
+target/openrisc/decode.c.inc: \
+  $(SRC_PATH)/target/openrisc/insns.decode $(DECODETREE)
+       $(call quiet-command,\
+         $(PYTHON) $(DECODETREE) -o $@ $<, "GEN", $(TARGET_DIR)$@)
+
+target/openrisc/translate.o: target/openrisc/decode.c.inc
+target/openrisc/disas.o: target/openrisc/decode.c.inc