moxie: fix compilation with CONFIG_FDT
PATCH 1/1 moxie: fix compilation with CONFIG_FDT
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 <[email protected]>
Signed-off-by Aurelien Jarno <[email protected]>
--- hw/moxie/Makefile.objs | 1 - 1 file changed, 1 deletion(-)
hw/moxie/Makefile.objs +0 -1
@@ -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
Signature · 1 line
1.7.10.4