Compile pcie_host only once
authorBlue Swirl <blauwirbel@gmail.com>
Sun, 21 Mar 2010 19:47:14 +0000 (19:47 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 21 Mar 2010 19:47:14 +0000 (19:47 +0000)
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Makefile.objs
Makefile.target

index dd33ca4..11dbc62 100644 (file)
@@ -129,7 +129,7 @@ user-obj-y += cutils.o cache-utils.o
 hw-obj-y =
 hw-obj-y += loader.o
 hw-obj-y += virtio.o virtio-console.o
-hw-obj-y += fw_cfg.o pci.o
+hw-obj-y += fw_cfg.o pci.o pcie_host.o
 hw-obj-y += watchdog.o
 hw-obj-$(CONFIG_ISA_MMIO) += isa_mmio.o
 hw-obj-$(CONFIG_ECC) += ecc.o
index fc8589c..b1d6a7f 100644 (file)
@@ -161,7 +161,7 @@ endif #CONFIG_BSD_USER
 # System emulator target
 ifdef CONFIG_SOFTMMU
 
-obj-y = vl.o monitor.o pci_host.o pcie_host.o machine.o gdbstub.o
+obj-y = vl.o monitor.o pci_host.o machine.o gdbstub.o
 obj-y += qemu-timer.o
 # virtio has to be here due to weird dependency between PCI and virtio-net.
 # need to fix this properly