162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciifdef CONFIG_FUNCTION_TRACER
462306a36Sopenharmony_ci# Do not profile debug and lowlevel utilities
562306a36Sopenharmony_ciCFLAGS_REMOVE_spinlock.o = -pg
662306a36Sopenharmony_ciCFLAGS_REMOVE_time.o = -pg
762306a36Sopenharmony_ciCFLAGS_REMOVE_irq.o = -pg
862306a36Sopenharmony_ciendif
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci# Make sure early boot has no stackprotector
1162306a36Sopenharmony_ciCFLAGS_enlighten_pv.o		:= -fno-stack-protector
1262306a36Sopenharmony_ciCFLAGS_mmu_pv.o			:= -fno-stack-protector
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ciobj-y				+= enlighten.o
1562306a36Sopenharmony_ciobj-y				+= mmu.o
1662306a36Sopenharmony_ciobj-y				+= time.o
1762306a36Sopenharmony_ciobj-y				+= grant-table.o
1862306a36Sopenharmony_ciobj-y				+= suspend.o
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ciobj-$(CONFIG_XEN_PVHVM)		+= enlighten_hvm.o
2162306a36Sopenharmony_ciobj-$(CONFIG_XEN_PVHVM)		+= mmu_hvm.o
2262306a36Sopenharmony_ciobj-$(CONFIG_XEN_PVHVM)		+= suspend_hvm.o
2362306a36Sopenharmony_ciobj-$(CONFIG_XEN_PVHVM)		+= platform-pci-unplug.o
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ciobj-$(CONFIG_XEN_PV)		+= setup.o
2662306a36Sopenharmony_ciobj-$(CONFIG_XEN_PV)		+= apic.o
2762306a36Sopenharmony_ciobj-$(CONFIG_XEN_PV)		+= pmu.o
2862306a36Sopenharmony_ciobj-$(CONFIG_XEN_PV)		+= suspend_pv.o
2962306a36Sopenharmony_ciobj-$(CONFIG_XEN_PV)		+= p2m.o
3062306a36Sopenharmony_ciobj-$(CONFIG_XEN_PV)		+= enlighten_pv.o
3162306a36Sopenharmony_ciobj-$(CONFIG_XEN_PV)		+= mmu_pv.o
3262306a36Sopenharmony_ciobj-$(CONFIG_XEN_PV)		+= irq.o
3362306a36Sopenharmony_ciobj-$(CONFIG_XEN_PV)		+= multicalls.o
3462306a36Sopenharmony_ciobj-$(CONFIG_XEN_PV)		+= xen-asm.o
3562306a36Sopenharmony_ci
3662306a36Sopenharmony_ciobj-$(CONFIG_XEN_PVH)		+= enlighten_pvh.o
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ciobj-$(CONFIG_EVENT_TRACING)	+= trace.o
3962306a36Sopenharmony_ci
4062306a36Sopenharmony_ciobj-$(CONFIG_SMP)		+= smp.o
4162306a36Sopenharmony_ciobj-$(CONFIG_XEN_PV_SMP)  	+= smp_pv.o
4262306a36Sopenharmony_ciobj-$(CONFIG_XEN_PVHVM_SMP)  	+= smp_hvm.o
4362306a36Sopenharmony_ci
4462306a36Sopenharmony_ciobj-$(CONFIG_PARAVIRT_SPINLOCKS)+= spinlock.o
4562306a36Sopenharmony_ci
4662306a36Sopenharmony_ciobj-$(CONFIG_XEN_DEBUG_FS)	+= debugfs.o
4762306a36Sopenharmony_ci
4862306a36Sopenharmony_ciobj-$(CONFIG_XEN_DOM0)		+= vga.o
4962306a36Sopenharmony_ci
5062306a36Sopenharmony_ciobj-$(CONFIG_XEN_EFI)		+= efi.o
51