Merge branch 'x86-cpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6.git] / arch / blackfin / kernel / Makefile
1 #
2 # arch/blackfin/kernel/Makefile
3 #
4
5 extra-y := init_task.o vmlinux.lds
6
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
12 ifeq ($(CONFIG_GENERIC_CLOCKEVENTS),y)
13     obj-y += time-ts.o
14 else
15     obj-y += time.o
16 endif
17
18 obj-$(CONFIG_FUNCTION_TRACER)        += ftrace-entry.o
19 obj-$(CONFIG_FUNCTION_GRAPH_TRACER)  += ftrace.o
20 CFLAGS_REMOVE_ftrace.o = -pg
21
22 obj-$(CONFIG_IPIPE)                  += ipipe.o
23 obj-$(CONFIG_BFIN_GPTIMERS)          += gptimers.o
24 obj-$(CONFIG_CPLB_INFO)              += cplbinfo.o
25 obj-$(CONFIG_MODULES)                += module.o
26 obj-$(CONFIG_KGDB)                   += kgdb.o
27 obj-$(CONFIG_KGDB_TESTS)             += kgdb_test.o
28 obj-$(CONFIG_EARLY_PRINTK)           += early_printk.o
29 obj-$(CONFIG_EARLY_PRINTK)           += shadow_console.o
30 obj-$(CONFIG_STACKTRACE)             += stacktrace.o
31
32 # the kgdb test puts code into L2 and without linker
33 # relaxation, we need to force long calls to/from it
34 CFLAGS_kgdb_test.o := -mlong-calls -O0