xref: /linux/drivers/xen/xen-pciback/Makefile (revision da1d9caf95def6f0320819cf941c9fd1069ba9e1)
1# SPDX-License-Identifier: GPL-2.0
2
3# N.B. The below cannot be expressed with a single line using
4# CONFIG_XEN_PCI_STUB as it always remains in "y" state,
5# thus preventing the driver to be built as a module.
6# Please note, that CONFIG_XEN_PCIDEV_BACKEND and
7# CONFIG_XEN_PCIDEV_STUB are mutually exclusive.
8obj-$(CONFIG_XEN_PCIDEV_BACKEND) += xen-pciback.o
9obj-$(CONFIG_XEN_PCIDEV_STUB) += xen-pciback.o
10
11xen-pciback-y := pci_stub.o pciback_ops.o xenbus.o
12xen-pciback-y += conf_space.o conf_space_header.o \
13		 conf_space_capability.o \
14		 conf_space_quirks.o vpci.o \
15		 passthrough.o
16