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