When CONFIG_FDT is enabled, qemu-system-moxie fails to build with the following error:
$ make make[1]: *** No rule to make target `hw/moxie/../device_tree.o', needed by `qemu-system-moxie'. Stop. make: *** [subdir-moxie-softmmu] Error 2 Since commit 320ba5f, device_tree.o is always linked to the targets. This patch simply removes it from hw/moxie/Makefile.objs. Cc: Anthony Green <gr...@moxielogic.com> Signed-off-by: Aurelien Jarno <aurel...@aurel32.net> --- hw/moxie/Makefile.objs | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/moxie/Makefile.objs b/hw/moxie/Makefile.objs index d0772d1..a5f1742 100644 --- a/hw/moxie/Makefile.objs +++ b/hw/moxie/Makefile.objs @@ -1,6 +1,5 @@ # moxie boards obj-y = serial.o mc146818rtc.o vga.o -obj-$(CONFIG_FDT) += device_tree.o obj-y := $(addprefix ../,$(obj-y)) obj-y += moxiesim.o -- 1.7.10.4