blob: bf0a268033a027d45213b76543af8224851e592f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
obj-y += translate.o op_helper.o cpu_helper.o cpu.o csr.o fpu_helper.o gdbstub.o pmp.o
DECODETREE = $(SRC_PATH)/scripts/decodetree.py
target/riscv/decode_insn32.inc.c: \
$(SRC_PATH)/target/riscv/insn32.decode $(DECODETREE)
$(call quiet-command, \
$(PYTHON) $(DECODETREE) -o $@ --decode decode_insn32 $<, \
"GEN", $(TARGET_DIR)$@)
target/riscv/translate.o: target/riscv/decode_insn32.inc.c
|