
extra-obj-y is somewhat complicated to understand. Replace it with a special CONFIG_ALL symbol that is defined only at toplevel. This limits the case of directories defining more than one *-obj-y target. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
10 lines
355 B
Makefile
10 lines
355 B
Makefile
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_NO_PCI) += pci-stub.o
|
|
|
|
common-obj-$(CONFIG_ALL) += pci-stub.o
|