1ifdef CONFIG_FUNCTION_TRACER
2# Do not profile debug and lowlevel utilities
3CFLAGS_REMOVE_spinlock.o = -pg
4CFLAGS_REMOVE_time.o = -pg
5CFLAGS_REMOVE_irq.o = -pg
6endif
7
8# Make sure early boot has no stackprotector
9nostackp := $(call cc-option, -fno-stack-protector)
10CFLAGS_enlighten.o		:= $(nostackp)
11CFLAGS_mmu.o			:= $(nostackp)
12
13obj-y		:= enlighten.o setup.o multicalls.o mmu.o irq.o \
14			time.o xen-asm.o xen-asm_$(BITS).o \
15			grant-table.o suspend.o platform-pci-unplug.o \
16			p2m.o apic.o
17
18obj-$(CONFIG_EVENT_TRACING) += trace.o
19
20obj-$(CONFIG_SMP)		+= smp.o
21obj-$(CONFIG_PARAVIRT_SPINLOCKS)+= spinlock.o
22obj-$(CONFIG_XEN_DEBUG_FS)	+= debugfs.o
23obj-$(CONFIG_XEN_DOM0)		+= vga.o
24obj-$(CONFIG_SWIOTLB_XEN)	+= pci-swiotlb-xen.o
25obj-$(CONFIG_XEN_EFI)		+= efi.o
26