aboutsummaryrefslogtreecommitdiff
path: root/target/openrisc/Makefile.objs
blob: 1b98a911eadd4d0d3ef59fb99bd0edb92ea8f593 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 \
         interrupt_helper.o mmu_helper.o sys_helper.o
obj-y += gdbstub.o

DECODETREE = $(SRC_PATH)/scripts/decodetree.py

target/openrisc/decode.inc.c: \
  $(SRC_PATH)/target/openrisc/insns.decode $(DECODETREE)
	$(call quiet-command,\
	  $(PYTHON) $(DECODETREE) -o $@ $<, "GEN", $(TARGET_DIR)$@)

target/openrisc/translate.o: target/openrisc/decode.inc.c