Makefile 1.1 KB
Newer Older
B
Bryan Wu 已提交
1 2 3 4 5 6 7 8
#
# arch/blackfin/kernel/Makefile
#

extra-y := init_task.o vmlinux.lds

obj-y := \
	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
B
Bryan Wu 已提交
11

12 13 14 15 16 17
ifeq ($(CONFIG_GENERIC_CLOCKEVENTS),y)
    obj-y += time-ts.o
else
    obj-y += time.o
endif

18
obj-$(CONFIG_FUNCTION_TRACER)        += ftrace-entry.o
19 20 21
obj-$(CONFIG_FUNCTION_GRAPH_TRACER)  += ftrace.o
CFLAGS_REMOVE_ftrace.o = -pg

22 23
obj-$(CONFIG_IPIPE)                  += ipipe.o
obj-$(CONFIG_IPIPE_TRACE_MCOUNT)     += mcount.o
24
obj-$(CONFIG_BFIN_GPTIMERS)          += gptimers.o
25
obj-$(CONFIG_CPLB_INFO)              += cplbinfo.o
B
Bryan Wu 已提交
26
obj-$(CONFIG_MODULES)                += module.o
S
Sonic Zhang 已提交
27
obj-$(CONFIG_KGDB)                   += kgdb.o
28
obj-$(CONFIG_KGDB_TESTS)             += kgdb_test.o
29
obj-$(CONFIG_EARLY_PRINTK)           += early_printk.o
30
obj-$(CONFIG_STACKTRACE)             += stacktrace.o
31 32 33 34

# the kgdb test puts code into L2 and without linker
# relaxation, we need to force long calls to/from it
CFLAGS_kgdb_test.o := -mlong-calls -O0