mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-11 03:24:58 -06:00
build: move device tree to per-target Makefile.objs
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
c353f26194
commit
49ac9e0a8c
4 changed files with 3 additions and 7 deletions
|
@ -149,13 +149,6 @@ else
|
||||||
obj-y += hw/$(TARGET_BASE_ARCH)/
|
obj-y += hw/$(TARGET_BASE_ARCH)/
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Device tree
|
|
||||||
ifeq ($(CONFIG_FDT), y)
|
|
||||||
obj-$(TARGET_ARM) += device_tree.o
|
|
||||||
obj-$(TARGET_MICROBLAZE) += device_tree.o
|
|
||||||
obj-$(TARGET_PPC) += device_tree.o
|
|
||||||
endif
|
|
||||||
|
|
||||||
main.o: QEMU_CFLAGS+=$(GPROF_CFLAGS)
|
main.o: QEMU_CFLAGS+=$(GPROF_CFLAGS)
|
||||||
|
|
||||||
GENERATED_HEADERS += hmp-commands.h qmp-commands-old.h
|
GENERATED_HEADERS += hmp-commands.h qmp-commands-old.h
|
||||||
|
|
|
@ -35,5 +35,6 @@ obj-y += vexpress.o
|
||||||
obj-y += strongarm.o
|
obj-y += strongarm.o
|
||||||
obj-y += collie.o
|
obj-y += collie.o
|
||||||
obj-y += pl041.o lm4549.o
|
obj-y += pl041.o lm4549.o
|
||||||
|
obj-$(CONFIG_FDT) += ../device_tree.o
|
||||||
|
|
||||||
obj-y := $(addprefix ../,$(obj-y))
|
obj-y := $(addprefix ../,$(obj-y))
|
||||||
|
|
|
@ -9,5 +9,6 @@ obj-y += xilinx_uartlite.o
|
||||||
obj-y += xilinx_ethlite.o
|
obj-y += xilinx_ethlite.o
|
||||||
obj-y += xilinx_axidma.o
|
obj-y += xilinx_axidma.o
|
||||||
obj-y += xilinx_axienet.o
|
obj-y += xilinx_axienet.o
|
||||||
|
obj-$(CONFIG_FDT) += ../device_tree.o
|
||||||
|
|
||||||
obj-y := $(addprefix ../,$(obj-y))
|
obj-y := $(addprefix ../,$(obj-y))
|
||||||
|
|
|
@ -21,6 +21,7 @@ obj-y += virtex_ml507.o
|
||||||
obj-$(CONFIG_KVM) += kvm_ppc.o
|
obj-$(CONFIG_KVM) += kvm_ppc.o
|
||||||
# PowerPC OpenPIC
|
# PowerPC OpenPIC
|
||||||
obj-y += openpic.o
|
obj-y += openpic.o
|
||||||
|
obj-$(CONFIG_FDT) += ../device_tree.o
|
||||||
|
|
||||||
# Xilinx PPC peripherals
|
# Xilinx PPC peripherals
|
||||||
obj-y += xilinx_intc.o
|
obj-y += xilinx_intc.o
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue