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