1# SPDX-License-Identifier: GPL-2.0
2OBJECT_FILES_NON_STANDARD_xen-asm.o := y
3
4ifdef CONFIG_FUNCTION_TRACER
5# Do not profile debug and lowlevel utilities
6CFLAGS_REMOVE_spinlock.o = -pg
7CFLAGS_REMOVE_time.o = -pg
8CFLAGS_REMOVE_irq.o = -pg
9endif
10
11# Make sure early boot has no stackprotector
12CFLAGS_enlighten_pv.o		:= -fno-stack-protector
13CFLAGS_mmu_pv.o			:= -fno-stack-protector
14
15obj-y				+= enlighten.o
16obj-y				+= mmu.o
17obj-y				+= time.o
18obj-y				+= grant-table.o
19obj-y				+= suspend.o
20
21obj-$(CONFIG_XEN_PVHVM)		+= enlighten_hvm.o
22obj-$(CONFIG_XEN_PVHVM)		+= mmu_hvm.o
23obj-$(CONFIG_XEN_PVHVM)		+= suspend_hvm.o
24obj-$(CONFIG_XEN_PVHVM)		+= platform-pci-unplug.o
25
26obj-$(CONFIG_XEN_PV)		+= setup.o
27obj-$(CONFIG_XEN_PV)		+= apic.o
28obj-$(CONFIG_XEN_PV)		+= pmu.o
29obj-$(CONFIG_XEN_PV)		+= suspend_pv.o
30obj-$(CONFIG_XEN_PV)		+= p2m.o
31obj-$(CONFIG_XEN_PV)		+= enlighten_pv.o
32obj-$(CONFIG_XEN_PV)		+= mmu_pv.o
33obj-$(CONFIG_XEN_PV)		+= irq.o
34obj-$(CONFIG_XEN_PV)		+= multicalls.o
35obj-$(CONFIG_XEN_PV)		+= xen-asm.o
36
37obj-$(CONFIG_XEN_PVH)		+= enlighten_pvh.o
38
39obj-$(CONFIG_EVENT_TRACING)	+= trace.o
40
41obj-$(CONFIG_SMP)		+= smp.o
42obj-$(CONFIG_XEN_PV_SMP)  	+= smp_pv.o
43obj-$(CONFIG_XEN_PVHVM_SMP)  	+= smp_hvm.o
44
45obj-$(CONFIG_PARAVIRT_SPINLOCKS)+= spinlock.o
46
47obj-$(CONFIG_XEN_DEBUG_FS)	+= debugfs.o
48
49obj-$(CONFIG_XEN_DOM0)		+= vga.o
50
51obj-$(CONFIG_SWIOTLB_XEN)	+= pci-swiotlb-xen.o
52
53obj-$(CONFIG_XEN_EFI)		+= efi.o
54