Steven Rostedt | 606576c | 2008-10-06 19:06:12 -0400 | [diff] [blame] | 1 | ifdef CONFIG_FUNCTION_TRACER |
Jeremy Fitzhardinge | d5de884 | 2008-07-23 13:28:58 -0700 | [diff] [blame] | 2 | # Do not profile debug and lowlevel utilities |
| 3 | CFLAGS_REMOVE_spinlock.o = -pg |
| 4 | CFLAGS_REMOVE_time.o = -pg |
Jeremy Fitzhardinge | 0d1edf4 | 2008-07-28 11:53:57 -0700 | [diff] [blame] | 5 | CFLAGS_REMOVE_irq.o = -pg |
Jeremy Fitzhardinge | d5de884 | 2008-07-23 13:28:58 -0700 | [diff] [blame] | 6 | endif |
| 7 | |
Jeremy Fitzhardinge | ce2eef3 | 2009-08-17 12:26:53 -0700 | [diff] [blame] | 8 | # Make sure early boot has no stackprotector |
| 9 | nostackp := $(call cc-option, -fno-stack-protector) |
| 10 | CFLAGS_enlighten.o := $(nostackp) |
Jeremy Fitzhardinge | 577eebe | 2009-08-27 12:46:35 -0700 | [diff] [blame] | 11 | CFLAGS_mmu.o := $(nostackp) |
Jeremy Fitzhardinge | ce2eef3 | 2009-08-17 12:26:53 -0700 | [diff] [blame] | 12 | |
Jeremy Fitzhardinge | 0d1edf4 | 2008-07-28 11:53:57 -0700 | [diff] [blame] | 13 | obj-y := enlighten.o setup.o multicalls.o mmu.o irq.o \ |
Jeremy Fitzhardinge | 5393744 | 2009-02-02 13:55:42 -0800 | [diff] [blame] | 14 | time.o xen-asm.o xen-asm_$(BITS).o \ |
Jeremy Fitzhardinge | b5eafe9 | 2010-12-06 16:29:22 -0800 | [diff] [blame] | 15 | grant-table.o suspend.o platform-pci-unplug.o \ |
Jeremy Fitzhardinge | b3c4b98 | 2011-07-25 15:51:02 -0700 | [diff] [blame] | 16 | p2m.o |
| 17 | |
Jeremy Fitzhardinge | 60c5f08 | 2011-08-11 13:17:20 -0700 | [diff] [blame] | 18 | obj-$(CONFIG_EVENT_TRACING) += trace.o |
Jeremy Fitzhardinge | f87e4ca | 2007-07-17 18:37:06 -0700 | [diff] [blame] | 19 | |
Jeremy Fitzhardinge | b4ecc12 | 2009-05-13 17:16:55 -0700 | [diff] [blame] | 20 | obj-$(CONFIG_SMP) += smp.o |
| 21 | obj-$(CONFIG_PARAVIRT_SPINLOCKS)+= spinlock.o |
| 22 | obj-$(CONFIG_XEN_DEBUG_FS) += debugfs.o |
Jeremy Fitzhardinge | c2419b4 | 2011-05-31 10:50:10 -0400 | [diff] [blame] | 23 | obj-$(CONFIG_XEN_DOM0) += vga.o |
Konrad Rzeszutek Wilk | bbbe573 | 2010-02-09 14:30:55 -0500 | [diff] [blame] | 24 | obj-$(CONFIG_SWIOTLB_XEN) += pci-swiotlb-xen.o |