xref: /openbmc/linux/drivers/xen/Makefile (revision 92e3229dcdc80ff0b6304f14c578d76e7e10e226)
113febc84SStefano Stabelliniifneq ($(CONFIG_ARM),y)
213febc84SStefano Stabelliniobj-y	+= manage.o balloon.o
313febc84SStefano Stabelliniobj-$(CONFIG_HOTPLUG_CPU)		+= cpu_hotplug.o
413febc84SStefano Stabelliniendif
513febc84SStefano Stabelliniobj-y	+= grant-table.o features.o events.o
64bac07c9SJeremy Fitzhardingeobj-y	+= xenbus/
71107ba88SAlex Zeffertt
8577eebeaSJeremy Fitzhardingenostackp := $(call cc-option, -fno-stack-protector)
9577eebeaSJeremy FitzhardingeCFLAGS_features.o			:= $(nostackp)
10577eebeaSJeremy Fitzhardinge
1113febc84SStefano Stabellinidom0-$(CONFIG_PCI) += pci.o
12f1c6872eSLinus Torvaldsdom0-$(CONFIG_USB_SUPPORT) += dbgp.o
13*92e3229dSLiu, Jinsongdom0-$(CONFIG_ACPI) += acpi.o $(xen-pad-y)
14*92e3229dSLiu, Jinsongxen-pad-$(CONFIG_X86) += xen-acpi-pad.o
1513febc84SStefano Stabellinidom0-$(CONFIG_X86) += pcpu.o
16613ad483SStefano Stabelliniobj-$(CONFIG_XEN_DOM0)			+= $(dom0-y)
172d7d06ddSKonrad Rzeszutek Wilkobj-$(CONFIG_BLOCK)			+= biomerge.o
18b15993fcSIsaku Yamahataobj-$(CONFIG_XEN_XENCOMM)		+= xencomm.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
3259a56802SKonrad Rzeszutek Wilkobj-$(CONFIG_XEN_ACPI_PROCESSOR)	+= xen-acpi-processor.o
33b5d827b6SIan Campbellxen-evtchn-y				:= evtchn.o
34ab31523cSGerd Hoffmannxen-gntdev-y				:= gntdev.o
35dd314058SDaniel De Graafxen-gntalloc-y				:= gntalloc.o
36d8414d3cSBastian Blankxen-privcmd-y				:= privcmd.o
37