xref: /openbmc/linux/drivers/xen/Makefile (revision c51b3c639e01f20559531eef3c5919feae23c55a)
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
5d2ba3166SDavid Vrabelobj-y	+= events/
64bac07c9SJeremy Fitzhardingeobj-y	+= xenbus/
71107ba88SAlex Zeffertt
8577eebeaSJeremy Fitzhardingenostackp := $(call cc-option, -fno-stack-protector)
9577eebeaSJeremy FitzhardingeCFLAGS_features.o			:= $(nostackp)
10577eebeaSJeremy Fitzhardinge
114ba04becSShannon Zhaodom0-$(CONFIG_ARM64) += arm-device.o
1213febc84SStefano Stabellinidom0-$(CONFIG_PCI) += pci.o
13f1c6872eSLinus Torvaldsdom0-$(CONFIG_USB_SUPPORT) += dbgp.o
1442068cfdSHanjun Guodom0-$(CONFIG_XEN_ACPI) += acpi.o $(xen-pad-y)
1592e3229dSLiu, Jinsongxen-pad-$(CONFIG_X86) += xen-acpi-pad.o
1613febc84SStefano Stabellinidom0-$(CONFIG_X86) += pcpu.o
17613ad483SStefano Stabelliniobj-$(CONFIG_XEN_DOM0)			+= $(dom0-y)
182d7d06ddSKonrad Rzeszutek Wilkobj-$(CONFIG_BLOCK)			+= biomerge.o
19803eb047SDaniel De Graafobj-$(CONFIG_XEN_BALLOON)		+= xen-balloon.o
20a50777c7SDan Magenheimerobj-$(CONFIG_XEN_SELFBALLOONING)	+= xen-selfballoon.o
21b5d827b6SIan Campbellobj-$(CONFIG_XEN_DEV_EVTCHN)		+= xen-evtchn.o
22ab31523cSGerd Hoffmannobj-$(CONFIG_XEN_GNTDEV)		+= xen-gntdev.o
23dd314058SDaniel De Graafobj-$(CONFIG_XEN_GRANT_DEV_ALLOC)	+= xen-gntalloc.o
241107ba88SAlex Zefferttobj-$(CONFIG_XENFS)			+= xenfs/
25cff7e81bSJeremy Fitzhardingeobj-$(CONFIG_XEN_SYS_HYPERVISOR)	+= sys-hypervisor.o
265fbdc103SStefano Stabelliniobj-$(CONFIG_XEN_PVHVM)			+= platform-pci.o
27afec6e04SDan Magenheimerobj-$(CONFIG_XEN_TMEM)			+= tmem.o
28b097186fSKonrad Rzeszutek Wilkobj-$(CONFIG_SWIOTLB_XEN)		+= swiotlb-xen.o
29cef12ee5SLiu, Jinsongobj-$(CONFIG_XEN_MCE_LOG)		+= mcelog.o
3030edc14bSKonrad Rzeszutek Wilkobj-$(CONFIG_XEN_PCIDEV_BACKEND)	+= xen-pciback/
31d8414d3cSBastian Blankobj-$(CONFIG_XEN_PRIVCMD)		+= xen-privcmd.o
32dcb93b96SLiu Jinsongobj-$(CONFIG_XEN_STUB)			+= xen-stub.o
33ef92e7caSLiu Jinsongobj-$(CONFIG_XEN_ACPI_HOTPLUG_MEMORY)	+= xen-acpi-memhotplug.o
3439adc483SLiu Jinsongobj-$(CONFIG_XEN_ACPI_HOTPLUG_CPU)	+= xen-acpi-cpuhotplug.o
3559a56802SKonrad Rzeszutek Wilkobj-$(CONFIG_XEN_ACPI_PROCESSOR)	+= xen-acpi-processor.o
36be81c8a1SDaniel Kiperobj-$(CONFIG_XEN_EFI)			+= efi.o
37d9d660f6SJuergen Grossobj-$(CONFIG_XEN_SCSI_BACKEND)		+= xen-scsiback.o
38628c28eeSDavid Vrabelobj-$(CONFIG_XEN_AUTO_XLATE)		+= xlate_mmu.o
3942d3078aSStefano Stabelliniobj-$(CONFIG_XEN_PVCALLS_BACKEND)	+= pvcalls-back.o
405eee149aSStefano Stabelliniobj-$(CONFIG_XEN_PVCALLS_FRONTEND)	+= pvcalls-front.o
41b5d827b6SIan Campbellxen-evtchn-y				:= evtchn.o
42ab31523cSGerd Hoffmannxen-gntdev-y				:= gntdev.o
43dd314058SDaniel De Graafxen-gntalloc-y				:= gntalloc.o
44*c51b3c63SJuergen Grossxen-privcmd-y				:= privcmd.o privcmd-buf.o
45