]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/xen/Makefile
xen: add debugfs support
[linux-2.6-omap-h63xx.git] / arch / x86 / xen / Makefile
index 2ba2d1649131a1b0151911179679b599a98b9272..313947940a1af66b309d91e5b8a0d687b9136b98 100644 (file)
@@ -1,4 +1,12 @@
-obj-y          := enlighten.o setup.o multicalls.o mmu.o \
-                       time.o xen-asm.o grant-table.o suspend.o
+ifdef CONFIG_FTRACE
+# Do not profile debug and lowlevel utilities
+CFLAGS_REMOVE_spinlock.o = -pg
+CFLAGS_REMOVE_time.o = -pg
+CFLAGS_REMOVE_irq.o = -pg
+endif
 
-obj-$(CONFIG_SMP)      += smp.o
+obj-y          := enlighten.o setup.o multicalls.o mmu.o irq.o \
+                       time.o xen-asm_$(BITS).o grant-table.o suspend.o
+
+obj-$(CONFIG_SMP)              += smp.o spinlock.o
+obj-$(CONFIG_XEN_DEBUG_FS)     += debugfs.o
\ No newline at end of file