hw/pci/Makefile.objs: make pcie configurable
Make pcie splited from pci and make it configurable. Signed-off-by: Yang Zhong <yang.zhong@intel.com> Cc: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20190123065618.3520-30-yang.zhong@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
8f01b41e10
commit
e9947d18df
@ -124,6 +124,7 @@ CONFIG_VERSATILE=y
|
||||
CONFIG_VERSATILE_PCI=y
|
||||
CONFIG_VERSATILE_I2C=y
|
||||
|
||||
CONFIG_PCI_EXPRESS=y
|
||||
CONFIG_PCI_EXPRESS_GENERIC_BRIDGE=y
|
||||
CONFIG_VFIO_XGMAC=y
|
||||
CONFIG_VFIO_AMD_XGBE=y
|
||||
|
@ -45,6 +45,7 @@ CONFIG_ISA_TESTDEV=y
|
||||
CONFIG_VMPORT=y
|
||||
CONFIG_SGA=y
|
||||
CONFIG_LPC_ICH9=y
|
||||
CONFIG_PCI_EXPRESS=y
|
||||
CONFIG_PCI_EXPRESS_Q35=y
|
||||
CONFIG_APIC=y
|
||||
CONFIG_IOAPIC=y
|
||||
|
@ -12,4 +12,5 @@ CONFIG_JAZZ_LED=y
|
||||
CONFIG_VT82C686=y
|
||||
CONFIG_MIPS_BOSTON=y
|
||||
CONFIG_FITLOADER=y
|
||||
CONFIG_PCI_EXPRESS=y
|
||||
CONFIG_PCI_EXPRESS_XILINX=y
|
||||
|
@ -24,6 +24,7 @@ CONFIG_ETSEC=y
|
||||
CONFIG_PPC405=y
|
||||
CONFIG_PPC440=y
|
||||
CONFIG_VIRTEX=y
|
||||
CONFIG_PCI_EXPRESS=y
|
||||
|
||||
# For Sam460ex
|
||||
CONFIG_SAM460EX=y
|
||||
|
@ -8,6 +8,7 @@ CONFIG_VIRTIO_MMIO=y
|
||||
|
||||
CONFIG_CADENCE=y
|
||||
|
||||
CONFIG_PCI_EXPRESS=y
|
||||
CONFIG_PCI_EXPRESS_GENERIC_BRIDGE=y
|
||||
|
||||
CONFIG_VGA=y
|
||||
|
@ -8,6 +8,7 @@ CONFIG_VIRTIO_MMIO=y
|
||||
|
||||
CONFIG_CADENCE=y
|
||||
|
||||
CONFIG_PCI_EXPRESS=y
|
||||
CONFIG_PCI_EXPRESS_GENERIC_BRIDGE=y
|
||||
|
||||
CONFIG_VGA=y
|
||||
|
@ -1,2 +1,6 @@
|
||||
config PCI
|
||||
bool
|
||||
|
||||
config PCI_EXPRESS
|
||||
bool
|
||||
select PCI
|
||||
|
@ -2,8 +2,13 @@ common-obj-$(CONFIG_PCI) += pci.o pci_bridge.o
|
||||
common-obj-$(CONFIG_PCI) += msix.o msi.o
|
||||
common-obj-$(CONFIG_PCI) += shpc.o
|
||||
common-obj-$(CONFIG_PCI) += slotid_cap.o
|
||||
common-obj-$(CONFIG_PCI) += pci_host.o pcie_host.o
|
||||
common-obj-$(CONFIG_PCI) += pcie.o pcie_aer.o pcie_port.o
|
||||
common-obj-$(CONFIG_PCI) += pci_host.o
|
||||
|
||||
# The functions in these modules can be used by devices too. Since we
|
||||
# allow plugging PCIe devices into PCI buses, include them even if
|
||||
# CONFIG_PCI_EXPRESS=n.
|
||||
common-obj-$(CONFIG_PCI) += pcie.o pcie_aer.o
|
||||
common-obj-$(CONFIG_PCI_EXPRESS) += pcie_port.o pcie_host.o
|
||||
|
||||
common-obj-$(call lnot,$(CONFIG_PCI)) += pci-stub.o
|
||||
common-obj-$(CONFIG_ALL) += pci-stub.o
|
||||
|
Loading…
Reference in New Issue
Block a user