1# 2# Makefile for Goldfish virtual platform 3# 4 5EXTRA_CFLAGS += -Wno-error 6 7CFLAGS_goldfish-platform.o = -I$(src)/../../../scripts/dtc/libfdt 8 9obj-$(CONFIG_MIPS_RANCHU) += goldfish-platform.o 10obj-$(CONFIG_MIPS_RANCHU) += goldfish-interrupt.o 11obj-$(CONFIG_MIPS_RANCHU) += goldfish-time.o 12obj-$(CONFIG_MIPS_RANCHU) += pm.o 13obj-$(CONFIG_MIPS_RANCHU) += goldfish-reset.o 14 15obj-$(CONFIG_MIPS_GOLDFISH_SWITCH) += switch.o 16 17ifneq ($(CONFIG_MIPS_APPENDED_DTB), y) 18obj-$(CONFIG_MIPS_RANCHU) += ranchu.dtb.o 19 20$(obj)/%.dtb: $(obj)/%.dts 21 $(call if_changed,dtc) 22endif 23