Merge branch 'akpm'
[linux-2.6/next.git] / arch / blackfin / kernel / Makefile
blobb7bdc42fe1a375d8a4ff89ac42b65deed7c9e66a
2 # arch/blackfin/kernel/Makefile
5 extra-y := init_task.o vmlinux.lds
7 obj-y := \
8 entry.o process.o bfin_ksyms.o ptrace.o setup.o signal.o \
9 sys_bfin.o traps.o irqchip.o dma-mapping.o flat.o \
10 fixed_code.o reboot.o bfin_gpio.o bfin_dma_5xx.o \
11 exception.o dumpstack.o
13 ifeq ($(CONFIG_GENERIC_CLOCKEVENTS),y)
14 obj-y += time-ts.o
15 else
16 obj-y += time.o
17 endif
19 obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o
20 obj-$(CONFIG_FUNCTION_TRACER) += ftrace-entry.o
21 obj-$(CONFIG_FUNCTION_GRAPH_TRACER) += ftrace.o
22 CFLAGS_REMOVE_ftrace.o = -pg
24 obj-$(CONFIG_HAVE_PWM) += pwm.o
25 obj-$(CONFIG_IPIPE) += ipipe.o
26 obj-$(CONFIG_BFIN_GPTIMERS) += gptimers.o
27 obj-$(CONFIG_CPLB_INFO) += cplbinfo.o
28 obj-$(CONFIG_MODULES) += module.o
29 obj-$(CONFIG_KGDB) += kgdb.o
30 obj-$(CONFIG_KGDB_TESTS) += kgdb_test.o
31 obj-$(CONFIG_NMI_WATCHDOG) += nmi.o
32 obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
33 obj-$(CONFIG_EARLY_PRINTK) += shadow_console.o
34 obj-$(CONFIG_STACKTRACE) += stacktrace.o
35 obj-$(CONFIG_DEBUG_VERBOSE) += trace.o
36 obj-$(CONFIG_BFIN_PSEUDODBG_INSNS) += pseudodbg.o
37 obj-$(CONFIG_PERF_EVENTS) += perf_event.o
39 # the kgdb test puts code into L2 and without linker
40 # relaxation, we need to force long calls to/from it
41 CFLAGS_kgdb_test.o := -mlong-calls -O0
43 obj-$(CONFIG_DEBUG_MMRS) += debug-mmrs.o