1 # SPDX-License-Identifier: GPL-2.0
2 OBJECT_FILES_NON_STANDARD_xen-asm_
$(BITS
).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 nostackp
:= $(call cc-option
, -fno-stack-protector
)
13 CFLAGS_enlighten_pv.o
:= $(nostackp
)
14 CFLAGS_mmu_pv.o
:= $(nostackp
)
19 obj-y
+= grant-table.o
22 obj-
$(CONFIG_XEN_PVHVM
) += enlighten_hvm.o
23 obj-
$(CONFIG_XEN_PVHVM
) += mmu_hvm.o
24 obj-
$(CONFIG_XEN_PVHVM
) += suspend_hvm.o
25 obj-
$(CONFIG_XEN_PVHVM
) += platform-pci-unplug.o
27 obj-
$(CONFIG_XEN_PV
) += setup.o
28 obj-
$(CONFIG_XEN_PV
) += apic.o
29 obj-
$(CONFIG_XEN_PV
) += pmu.o
30 obj-
$(CONFIG_XEN_PV
) += suspend_pv.o
31 obj-
$(CONFIG_XEN_PV
) += p2m.o
32 obj-
$(CONFIG_XEN_PV
) += enlighten_pv.o
33 obj-
$(CONFIG_XEN_PV
) += mmu_pv.o
34 obj-
$(CONFIG_XEN_PV
) += irq.o
35 obj-
$(CONFIG_XEN_PV
) += multicalls.o
36 obj-
$(CONFIG_XEN_PV
) += xen-asm.o
37 obj-
$(CONFIG_XEN_PV
) += xen-asm_
$(BITS
).o
39 obj-
$(CONFIG_XEN_PVH
) += enlighten_pvh.o
41 obj-
$(CONFIG_EVENT_TRACING
) += trace.o
43 obj-
$(CONFIG_SMP
) += smp.o
44 obj-
$(CONFIG_XEN_PV_SMP
) += smp_pv.o
45 obj-
$(CONFIG_XEN_PVHVM_SMP
) += smp_hvm.o
47 obj-
$(CONFIG_PARAVIRT_SPINLOCKS
)+= spinlock.o
49 obj-
$(CONFIG_XEN_DEBUG_FS
) += debugfs.o
51 obj-
$(CONFIG_XEN_DOM0
) += vga.o
53 obj-
$(CONFIG_SWIOTLB_XEN
) += pci-swiotlb-xen.o
55 obj-
$(CONFIG_XEN_EFI
) += efi.o