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