1# 2# arch/blackfin/kernel/Makefile 3# 4 5extra-y := vmlinux.lds 6 7obj-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_dma.o \ 11 exception.o dumpstack.o 12 13ifeq ($(CONFIG_GENERIC_CLOCKEVENTS),y) 14 obj-y += time-ts.o 15else 16 obj-y += time.o 17endif 18 19obj-$(CONFIG_GPIO_ADI) += bfin_gpio.o 20obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o 21obj-$(CONFIG_FUNCTION_TRACER) += ftrace-entry.o 22obj-$(CONFIG_FUNCTION_GRAPH_TRACER) += ftrace.o 23CFLAGS_REMOVE_ftrace.o = -pg 24 25obj-$(CONFIG_IPIPE) += ipipe.o 26obj-$(CONFIG_BFIN_GPTIMERS) += gptimers.o 27obj-$(CONFIG_CPLB_INFO) += cplbinfo.o 28obj-$(CONFIG_MODULES) += module.o 29obj-$(CONFIG_KGDB) += kgdb.o 30obj-$(CONFIG_KGDB_TESTS) += kgdb_test.o 31obj-$(CONFIG_NMI_WATCHDOG) += nmi.o 32obj-$(CONFIG_EARLY_PRINTK) += early_printk.o 33obj-$(CONFIG_EARLY_PRINTK) += shadow_console.o 34obj-$(CONFIG_STACKTRACE) += stacktrace.o 35obj-$(CONFIG_DEBUG_VERBOSE) += trace.o 36obj-$(CONFIG_BFIN_PSEUDODBG_INSNS) += pseudodbg.o 37obj-$(CONFIG_PERF_EVENTS) += perf_event.o 38 39# the kgdb test puts code into L2 and without linker 40# relaxation, we need to force long calls to/from it 41CFLAGS_kgdb_test.o := -mlong-calls 42 43obj-$(CONFIG_DEBUG_MMRS) += debug-mmrs.o 44