xref: /openbmc/linux/drivers/xen/Makefile (revision e3d786a3)
1# SPDX-License-Identifier: GPL-2.0
2obj-$(CONFIG_HOTPLUG_CPU)		+= cpu_hotplug.o
3obj-$(CONFIG_X86)			+= fallback.o
4obj-y	+= grant-table.o features.o balloon.o manage.o preempt.o time.o
5obj-y	+= mem-reservation.o
6obj-y	+= events/
7obj-y	+= xenbus/
8
9nostackp := $(call cc-option, -fno-stack-protector)
10CFLAGS_features.o			:= $(nostackp)
11
12dom0-$(CONFIG_ARM64) += arm-device.o
13dom0-$(CONFIG_PCI) += pci.o
14dom0-$(CONFIG_USB_SUPPORT) += dbgp.o
15dom0-$(CONFIG_XEN_ACPI) += acpi.o $(xen-pad-y)
16xen-pad-$(CONFIG_X86) += xen-acpi-pad.o
17dom0-$(CONFIG_X86) += pcpu.o
18obj-$(CONFIG_XEN_DOM0)			+= $(dom0-y)
19obj-$(CONFIG_BLOCK)			+= biomerge.o
20obj-$(CONFIG_XEN_BALLOON)		+= xen-balloon.o
21obj-$(CONFIG_XEN_SELFBALLOONING)	+= xen-selfballoon.o
22obj-$(CONFIG_XEN_DEV_EVTCHN)		+= xen-evtchn.o
23obj-$(CONFIG_XEN_GNTDEV)		+= xen-gntdev.o
24obj-$(CONFIG_XEN_GRANT_DEV_ALLOC)	+= xen-gntalloc.o
25obj-$(CONFIG_XENFS)			+= xenfs/
26obj-$(CONFIG_XEN_SYS_HYPERVISOR)	+= sys-hypervisor.o
27obj-$(CONFIG_XEN_PVHVM)			+= platform-pci.o
28obj-$(CONFIG_XEN_TMEM)			+= tmem.o
29obj-$(CONFIG_SWIOTLB_XEN)		+= swiotlb-xen.o
30obj-$(CONFIG_XEN_MCE_LOG)		+= mcelog.o
31obj-$(CONFIG_XEN_PCIDEV_BACKEND)	+= xen-pciback/
32obj-$(CONFIG_XEN_PRIVCMD)		+= xen-privcmd.o
33obj-$(CONFIG_XEN_STUB)			+= xen-stub.o
34obj-$(CONFIG_XEN_ACPI_HOTPLUG_MEMORY)	+= xen-acpi-memhotplug.o
35obj-$(CONFIG_XEN_ACPI_HOTPLUG_CPU)	+= xen-acpi-cpuhotplug.o
36obj-$(CONFIG_XEN_ACPI_PROCESSOR)	+= xen-acpi-processor.o
37obj-$(CONFIG_XEN_EFI)			+= efi.o
38obj-$(CONFIG_XEN_SCSI_BACKEND)		+= xen-scsiback.o
39obj-$(CONFIG_XEN_AUTO_XLATE)		+= xlate_mmu.o
40obj-$(CONFIG_XEN_PVCALLS_BACKEND)	+= pvcalls-back.o
41obj-$(CONFIG_XEN_PVCALLS_FRONTEND)	+= pvcalls-front.o
42xen-evtchn-y				:= evtchn.o
43xen-gntdev-y				:= gntdev.o
44xen-gntdev-$(CONFIG_XEN_GNTDEV_DMABUF)	+= gntdev-dmabuf.o
45xen-gntalloc-y				:= gntalloc.o
46xen-privcmd-y				:= privcmd.o privcmd-buf.o
47