Received: from eggs.gnu.org ([2001:4830:134:3::10]:58467) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCmB5-0005Bl-2t for qemu-devel@nongnu.org; Thu, 09 Nov 2017 07:43:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eCmB4-0001lS-Aw for qemu-devel@nongnu.org; Thu, 09 Nov 2017 07:43:27 -0500 Received: from mx1.redhat.com ([209.132.183.28]:42700) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eCmB4-0001ks-4t for qemu-devel@nongnu.org; Thu, 09 Nov 2017 07:43:26 -0500 From: Marcel Apfelbaum Date: Thu, 9 Nov 2017 14:43:12 +0200 Message-Id: <20171109124312.117600-1-marcel@redhat.com> Subject: [Qemu-devel] [PATCH V2] hw/pcie-pci-bridge: restrict to X86 and ARM List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: marcel@redhat.com, mst@redhat.com, thuth@redhat.com, zuban32s@gmail.com, cohuck@redhat.com The PCIE-PCI bridge is specific to "pure" PCIe systems (on QEMU we have X86 and ARM), it does not make sense to have if in other archs. Reported-by: Thomas Huth Signed-off-by: Marcel Apfelbaum --- V1 -> V2: Addressed Thomas and Cornelia comments: - Conditioned the pcie-pci-bridge compilation on the PCIe Root CONFIG_PCIE_PORT - Tweaked subject PCI -> PCIe Thanks, Marcel hw/pci-bridge/Makefile.objs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hw/pci-bridge/Makefile.objs b/hw/pci-bridge/Makefile.objs index 666db37da2..83539f02e5 100644 --- a/hw/pci-bridge/Makefile.objs +++ b/hw/pci-bridge/Makefile.objs @@ -1,8 +1,10 @@ -common-obj-y += pci_bridge_dev.o pcie_pci_bridge.o +common-obj-y += pci_bridge_dev.o common-obj-$(CONFIG_PCIE_PORT) += pcie_root_port.o gen_pcie_root_port.o common-obj-$(CONFIG_PXB) += pci_expander_bridge.o +common-obj-$(CONFIG_PCIE_PCI_BRIDGE) += pcie_pci_bridge.o common-obj-$(CONFIG_XIO3130) += xio3130_upstream.o xio3130_downstream.o common-obj-$(CONFIG_IOH3420) += ioh3420.o common-obj-$(CONFIG_I82801B11) += i82801b11.o # NewWorld PowerMac common-obj-$(CONFIG_DEC_PCI) += dec.o +CONFIG_PCIE_PCI_BRIDGE=$(CONFIG_PCIE_PORT) -- 2.13.5