xen: compile irq functions without -pg for ftrace
[linux-2.6] / arch / x86 / xen / Makefile
1 ifdef CONFIG_FTRACE
2 # Do not profile debug and lowlevel utilities
3 CFLAGS_REMOVE_spinlock.o = -pg
4 CFLAGS_REMOVE_time.o = -pg
5 CFLAGS_REMOVE_irq.o = -pg
6 endif
7
8 obj-y           := enlighten.o setup.o multicalls.o mmu.o irq.o \
9                         time.o xen-asm_$(BITS).o grant-table.o suspend.o
10
11 obj-$(CONFIG_SMP)       += smp.o spinlock.o