Skip to content

Commit

Permalink
device-tree: Make a common-obj
Browse files Browse the repository at this point in the history
There is no reason for device tree API to be built per-target.
common-obj it. There is an extraneous inclusion of config.h that
needs to be removed.

Cc: Alexander Graf <[email protected]>
Reviewed-by: Andreas Färber <[email protected]>
Signed-off-by: Peter Crosthwaite <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>
  • Loading branch information
pcrost authored and Michael Tokarev committed Jun 3, 2015
1 parent d370dfa commit 7df057b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Makefile.objs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ common-obj-$(CONFIG_SECCOMP) += qemu-seccomp.o

common-obj-$(CONFIG_SMARTCARD_NSS) += $(libcacard-y)

common-obj-$(CONFIG_FDT) += device_tree.o

######################################################################
# qapi

Expand Down
1 change: 0 additions & 1 deletion Makefile.target
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ ifdef CONFIG_SOFTMMU
obj-y += arch_init.o cpus.o monitor.o gdbstub.o balloon.o ioport.o numa.o
obj-y += qtest.o bootdevice.o
obj-y += hw/
obj-$(CONFIG_FDT) += device_tree.o
obj-$(CONFIG_KVM) += kvm-all.o
obj-y += memory.o savevm.o cputlb.o
obj-y += memory_mapping.o
Expand Down
1 change: 0 additions & 1 deletion device_tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <unistd.h>
#include <stdlib.h>

#include "config.h"
#include "qemu-common.h"
#include "qemu/error-report.h"
#include "sysemu/device_tree.h"
Expand Down

0 comments on commit 7df057b

Please sign in to comment.