xref: /linux/drivers/xen/Makefile (revision ea8a163e02d6925773129e2dd86e419e491b791d)
1# SPDX-License-Identifier: GPL-2.0
2obj-$(CONFIG_HOTPLUG_CPU)		+= cpu_hotplug.o
3obj-y	+= grant-table.o features.o balloon.o manage.o time.o
4obj-y	+= mem-reservation.o
5obj-y	+= events/
6obj-y	+= xenbus/
7
8CFLAGS_features.o			:= -fno-stack-protector
9
10dom0-$(CONFIG_ARM64) += arm-device.o
11dom0-$(CONFIG_PCI) += pci.o
12dom0-$(CONFIG_USB_SUPPORT) += dbgp.o
13dom0-$(CONFIG_XEN_ACPI) += acpi.o $(xen-pad-y)
14xen-pad-$(CONFIG_X86) += xen-acpi-pad.o
15dom0-$(CONFIG_X86) += pcpu.o
16obj-$(CONFIG_XEN_DOM0)			+= $(dom0-y)
17obj-$(CONFIG_BLOCK)			+= biomerge.o
18obj-$(CONFIG_XEN_BALLOON)		+= xen-balloon.o
19obj-$(CONFIG_XEN_DEV_EVTCHN)		+= xen-evtchn.o
20obj-$(CONFIG_XEN_GNTDEV)		+= xen-gntdev.o
21obj-$(CONFIG_XEN_GRANT_DEV_ALLOC)	+= xen-gntalloc.o
22obj-$(CONFIG_XENFS)			+= xenfs/
23obj-$(CONFIG_XEN_SYS_HYPERVISOR)	+= sys-hypervisor.o
24obj-$(CONFIG_XEN_PVHVM_GUEST)		+= platform-pci.o
25obj-$(CONFIG_SWIOTLB_XEN)		+= swiotlb-xen.o
26obj-$(CONFIG_XEN_MCE_LOG)		+= mcelog.o
27obj-$(CONFIG_XEN_PCI_STUB)	        += xen-pciback/
28obj-$(CONFIG_XEN_PRIVCMD)		+= xen-privcmd.o
29obj-$(CONFIG_XEN_ACPI_PROCESSOR)	+= xen-acpi-processor.o
30obj-$(CONFIG_XEN_EFI)			+= efi.o
31obj-$(CONFIG_XEN_SCSI_BACKEND)		+= xen-scsiback.o
32obj-$(CONFIG_XEN_AUTO_XLATE)		+= xlate_mmu.o
33obj-$(CONFIG_XEN_PVCALLS_BACKEND)	+= pvcalls-back.o
34obj-$(CONFIG_XEN_PVCALLS_FRONTEND)	+= pvcalls-front.o
35xen-evtchn-y				:= evtchn.o
36xen-gntdev-y				:= gntdev.o
37xen-gntdev-$(CONFIG_XEN_GNTDEV_DMABUF)	+= gntdev-dmabuf.o
38xen-gntalloc-y				:= gntalloc.o
39xen-privcmd-y				:= privcmd.o privcmd-buf.o
40obj-$(CONFIG_XEN_FRONT_PGDIR_SHBUF)	+= xen-front-pgdir-shbuf.o
41obj-$(CONFIG_XEN_UNPOPULATED_ALLOC)	+= unpopulated-alloc.o
42