Patchwork moxie: fix compilation with CONFIG_FDT

login
register
mail settings
Submitter Aurelien Jarno
Date March 24, 2013, 12:45 a.m.
Message ID <1364085922-19147-1-git-send-email-aurelien@aurel32.net>
Download mbox | patch
Permalink /patch/230358/
State New
Headers show

Comments

Aurelien Jarno - March 24, 2013, 12:45 a.m.
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(-)

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