iotests/026: Test EIO on allocation in a data-file
[qemu/ar7.git] / target / riscv / Makefile.objs
blobff651f69f6bfda59031ff017320cf81fc6ea29f2
1 obj-y += translate.o op_helper.o cpu_helper.o cpu.o csr.o fpu_helper.o gdbstub.o
2 obj-$(CONFIG_SOFTMMU) += pmp.o
4 ifeq ($(CONFIG_SOFTMMU),y)
5 obj-y += monitor.o
6 endif
8 DECODETREE = $(SRC_PATH)/scripts/decodetree.py
10 decode32-y = $(SRC_PATH)/target/riscv/insn32.decode
11 decode32-$(TARGET_RISCV64) += $(SRC_PATH)/target/riscv/insn32-64.decode
13 decode16-y = $(SRC_PATH)/target/riscv/insn16.decode
14 decode16-$(TARGET_RISCV32) += $(SRC_PATH)/target/riscv/insn16-32.decode
15 decode16-$(TARGET_RISCV64) += $(SRC_PATH)/target/riscv/insn16-64.decode
17 target/riscv/decode_insn32.inc.c: $(decode32-y) $(DECODETREE)
18         $(call quiet-command, \
19           $(PYTHON) $(DECODETREE) -o $@ --static-decode decode_insn32 \
20           $(decode32-y), "GEN", $(TARGET_DIR)$@)
22 target/riscv/decode_insn16.inc.c: $(decode16-y) $(DECODETREE)
23         $(call quiet-command, \
24           $(PYTHON) $(DECODETREE) -o $@ --static-decode decode_insn16 \
25           --insnwidth 16 $(decode16-y), "GEN", $(TARGET_DIR)$@)
27 target/riscv/translate.o: target/riscv/decode_insn32.inc.c \
28         target/riscv/decode_insn16.inc.c