1 # SPDX-License-Identifier: GPL-2.0
3 ifdef CONFIG_FUNCTION_TRACER
4 # Do not profile debug and lowlevel utilities
5 CFLAGS_REMOVE_spinlock.o
= -pg
6 CFLAGS_REMOVE_time.o
= -pg
7 CFLAGS_REMOVE_irq.o
= -pg
10 # Make sure early boot has no stackprotector
11 CFLAGS_enlighten_pv.o
:= -fno-stack-protector
12 CFLAGS_mmu_pv.o
:= -fno-stack-protector
17 obj-y
+= grant-table.o
20 obj-
$(CONFIG_XEN_PVHVM
) += enlighten_hvm.o
21 obj-
$(CONFIG_XEN_PVHVM
) += mmu_hvm.o
22 obj-
$(CONFIG_XEN_PVHVM
) += suspend_hvm.o
23 obj-
$(CONFIG_XEN_PVHVM
) += platform-pci-unplug.o
25 obj-
$(CONFIG_XEN_PV
) += setup.o
26 obj-
$(CONFIG_XEN_PV
) += apic.o
27 obj-
$(CONFIG_XEN_PV
) += pmu.o
28 obj-
$(CONFIG_XEN_PV
) += suspend_pv.o
29 obj-
$(CONFIG_XEN_PV
) += p2m.o
30 obj-
$(CONFIG_XEN_PV
) += enlighten_pv.o
31 obj-
$(CONFIG_XEN_PV
) += mmu_pv.o
32 obj-
$(CONFIG_XEN_PV
) += irq.o
33 obj-
$(CONFIG_XEN_PV
) += multicalls.o
34 obj-
$(CONFIG_XEN_PV
) += xen-asm.o
36 obj-
$(CONFIG_XEN_PVH
) += enlighten_pvh.o
38 obj-
$(CONFIG_EVENT_TRACING
) += trace.o
40 obj-
$(CONFIG_SMP
) += smp.o
41 obj-
$(CONFIG_XEN_PV_SMP
) += smp_pv.o
42 obj-
$(CONFIG_XEN_PVHVM_SMP
) += smp_hvm.o
44 obj-
$(CONFIG_PARAVIRT_SPINLOCKS
)+= spinlock.o
46 obj-
$(CONFIG_XEN_DEBUG_FS
) += debugfs.o
48 obj-
$(CONFIG_XEN_DOM0
) += vga.o
50 obj-
$(CONFIG_XEN_EFI
) += efi.o