Skip to contentSkip to conversation

moxie: fix compilation with CONFIG_FDT

PATCH New Aurelien Jarno 1 participant 1 message Mar 24, 2013

lore
Share & tools
lore
#0 lore raw

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.

---
 hw/moxie/Makefile.objs |    1 -
 1 file changed, 1 deletion(-)
hw/moxie/Makefile.objs +0 -1
index d0772d1..a5f1742 100644
@@ -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