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
17
18obj-$(CONFIG_SMP)		+= smp.o
19obj-$(CONFIG_PARAVIRT_SPINLOCKS)+= spinlock.o
20obj-$(CONFIG_XEN_DEBUG_FS)	+= debugfs.o
21
22obj-$(CONFIG_SWIOTLB_XEN)	+= pci-swiotlb-xen.o
23