xref: /openbmc/linux/drivers/xen/Makefile (revision ae4c51a50c990d6feba7058c181dc8f22ca5f1d8)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
213febc84SStefano Stabelliniobj-$(CONFIG_HOTPLUG_CPU)		+= cpu_hotplug.o
36bf926ddSKonrad Rzeszutek Wilkobj-$(CONFIG_X86)			+= fallback.o
44ccefbe5SStefano Stabelliniobj-y	+= grant-table.o features.o balloon.o manage.o preempt.o time.o
5*ae4c51a5SOleksandr Andrushchenkoobj-y	+= mem-reservation.o
6d2ba3166SDavid Vrabelobj-y	+= events/
74bac07c9SJeremy Fitzhardingeobj-y	+= xenbus/
81107ba88SAlex Zeffertt
9577eebeaSJeremy Fitzhardingenostackp := $(call cc-option, -fno-stack-protector)
10577eebeaSJeremy FitzhardingeCFLAGS_features.o			:= $(nostackp)
11577eebeaSJeremy Fitzhardinge
124ba04becSShannon Zhaodom0-$(CONFIG_ARM64) += arm-device.o
1313febc84SStefano Stabellinidom0-$(CONFIG_PCI) += pci.o
14f1c6872eSLinus Torvaldsdom0-$(CONFIG_USB_SUPPORT) += dbgp.o
1542068cfdSHanjun Guodom0-$(CONFIG_XEN_ACPI) += acpi.o $(xen-pad-y)
1692e3229dSLiu, Jinsongxen-pad-$(CONFIG_X86) += xen-acpi-pad.o
1713febc84SStefano Stabellinidom0-$(CONFIG_X86) += pcpu.o
18613ad483SStefano Stabelliniobj-$(CONFIG_XEN_DOM0)			+= $(dom0-y)
192d7d06ddSKonrad Rzeszutek Wilkobj-$(CONFIG_BLOCK)			+= biomerge.o
20803eb047SDaniel De Graafobj-$(CONFIG_XEN_BALLOON)		+= xen-balloon.o
21a50777c7SDan Magenheimerobj-$(CONFIG_XEN_SELFBALLOONING)	+= xen-selfballoon.o
22b5d827b6SIan Campbellobj-$(CONFIG_XEN_DEV_EVTCHN)		+= xen-evtchn.o
23ab31523cSGerd Hoffmannobj-$(CONFIG_XEN_GNTDEV)		+= xen-gntdev.o
24dd314058SDaniel De Graafobj-$(CONFIG_XEN_GRANT_DEV_ALLOC)	+= xen-gntalloc.o
251107ba88SAlex Zefferttobj-$(CONFIG_XENFS)			+= xenfs/
26cff7e81bSJeremy Fitzhardingeobj-$(CONFIG_XEN_SYS_HYPERVISOR)	+= sys-hypervisor.o
275fbdc103SStefano Stabelliniobj-$(CONFIG_XEN_PVHVM)			+= platform-pci.o
28afec6e04SDan Magenheimerobj-$(CONFIG_XEN_TMEM)			+= tmem.o
29b097186fSKonrad Rzeszutek Wilkobj-$(CONFIG_SWIOTLB_XEN)		+= swiotlb-xen.o
30cef12ee5SLiu, Jinsongobj-$(CONFIG_XEN_MCE_LOG)		+= mcelog.o
3130edc14bSKonrad Rzeszutek Wilkobj-$(CONFIG_XEN_PCIDEV_BACKEND)	+= xen-pciback/
32d8414d3cSBastian Blankobj-$(CONFIG_XEN_PRIVCMD)		+= xen-privcmd.o
33dcb93b96SLiu Jinsongobj-$(CONFIG_XEN_STUB)			+= xen-stub.o
34ef92e7caSLiu Jinsongobj-$(CONFIG_XEN_ACPI_HOTPLUG_MEMORY)	+= xen-acpi-memhotplug.o
3539adc483SLiu Jinsongobj-$(CONFIG_XEN_ACPI_HOTPLUG_CPU)	+= xen-acpi-cpuhotplug.o
3659a56802SKonrad Rzeszutek Wilkobj-$(CONFIG_XEN_ACPI_PROCESSOR)	+= xen-acpi-processor.o
37be81c8a1SDaniel Kiperobj-$(CONFIG_XEN_EFI)			+= efi.o
38d9d660f6SJuergen Grossobj-$(CONFIG_XEN_SCSI_BACKEND)		+= xen-scsiback.o
39628c28eeSDavid Vrabelobj-$(CONFIG_XEN_AUTO_XLATE)		+= xlate_mmu.o
4042d3078aSStefano Stabelliniobj-$(CONFIG_XEN_PVCALLS_BACKEND)	+= pvcalls-back.o
415eee149aSStefano Stabelliniobj-$(CONFIG_XEN_PVCALLS_FRONTEND)	+= pvcalls-front.o
42b5d827b6SIan Campbellxen-evtchn-y				:= evtchn.o
43ab31523cSGerd Hoffmannxen-gntdev-y				:= gntdev.o
44dd314058SDaniel De Graafxen-gntalloc-y				:= gntalloc.o
45c51b3c63SJuergen Grossxen-privcmd-y				:= privcmd.o privcmd-buf.o
46