block/ssh: Implement .bdrv_dirname()
[qemu/ar7.git] / target / riscv / Makefile.objs
blob9c6c1093271ee0eb25d7992c3af2eff4224b4218
1 obj-y += translate.o op_helper.o cpu_helper.o cpu.o csr.o fpu_helper.o gdbstub.o pmp.o
3 DECODETREE = $(SRC_PATH)/scripts/decodetree.py
5 decode32-y = $(SRC_PATH)/target/riscv/insn32.decode
6 decode32-$(TARGET_RISCV64) += $(SRC_PATH)/target/riscv/insn32-64.decode
8 target/riscv/decode_insn32.inc.c: $(decode32-y) $(DECODETREE)
9         $(call quiet-command, \
10           $(PYTHON) $(DECODETREE) -o $@ --decode decode_insn32 $(decode32-y), \
11           "GEN", $(TARGET_DIR)$@)
13 target/riscv/decode_insn16.inc.c: \
14   $(SRC_PATH)/target/riscv/insn16.decode $(DECODETREE)
15         $(call quiet-command, \
16           $(PYTHON) $(DECODETREE) -o $@ --decode decode_insn16 --insnwidth 16 $<, \
17           "GEN", $(TARGET_DIR)$@)
19 target/riscv/translate.o: target/riscv/decode_insn32.inc.c \
20         target/riscv/decode_insn16.inc.c