162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci
362306a36Sopenharmony_ci# N.B. The below cannot be expressed with a single line using
462306a36Sopenharmony_ci# CONFIG_XEN_PCI_STUB as it always remains in "y" state,
562306a36Sopenharmony_ci# thus preventing the driver to be built as a module.
662306a36Sopenharmony_ci# Please note, that CONFIG_XEN_PCIDEV_BACKEND and
762306a36Sopenharmony_ci# CONFIG_XEN_PCIDEV_STUB are mutually exclusive.
862306a36Sopenharmony_ciobj-$(CONFIG_XEN_PCIDEV_BACKEND) += xen-pciback.o
962306a36Sopenharmony_ciobj-$(CONFIG_XEN_PCIDEV_STUB) += xen-pciback.o
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_cixen-pciback-y := pci_stub.o pciback_ops.o xenbus.o
1262306a36Sopenharmony_cixen-pciback-y += conf_space.o conf_space_header.o \
1362306a36Sopenharmony_ci		 conf_space_capability.o \
1462306a36Sopenharmony_ci		 conf_space_quirks.o vpci.o \
1562306a36Sopenharmony_ci		 passthrough.o
16