Makefile 587 B

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