diff mbox

moxie: fix compilation with CONFIG_FDT

Message ID 1364085922-19147-1-git-send-email-aurelien@aurel32.net
State New
Headers show

Commit Message

Aurelien Jarno March 24, 2013, 12:45 a.m. UTC
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 <green@moxielogic.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
---
 hw/moxie/Makefile.objs |    1 -
 1 file changed, 1 deletion(-)
diff mbox

Patch

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