Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 1 | # |
| 2 | # arch/blackfin/kernel/Makefile |
| 3 | # |
| 4 | |
Thomas Gleixner | 6e3e844 | 2012-05-03 09:02:51 +0000 | [diff] [blame] | 5 | extra-y := vmlinux.lds |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 6 | |
| 7 | obj-y := \ |
| 8 | entry.o process.o bfin_ksyms.o ptrace.o setup.o signal.o \ |
Vitja Makarov | 8b5f79f | 2008-02-29 12:24:23 +0800 | [diff] [blame] | 9 | sys_bfin.o traps.o irqchip.o dma-mapping.o flat.o \ |
Sonic Zhang | ffb7fc0 | 2013-09-03 16:29:00 +0800 | [diff] [blame] | 10 | fixed_code.o reboot.o bfin_dma.o \ |
Robin Getz | d28cff4 | 2010-03-11 19:26:38 +0000 | [diff] [blame] | 11 | exception.o dumpstack.o |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 12 | |
Vitja Makarov | 8b5f79f | 2008-02-29 12:24:23 +0800 | [diff] [blame] | 13 | ifeq ($(CONFIG_GENERIC_CLOCKEVENTS),y) |
| 14 | obj-y += time-ts.o |
| 15 | else |
| 16 | obj-y += time.o |
| 17 | endif |
| 18 | |
Sonic Zhang | ffb7fc0 | 2013-09-03 16:29:00 +0800 | [diff] [blame] | 19 | obj-$(CONFIG_GPIO_ADI) += bfin_gpio.o |
Mike Frysinger | f507442 | 2010-07-21 09:13:02 -0400 | [diff] [blame] | 20 | obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o |
Mike Frysinger | 1c873be | 2009-06-09 07:25:09 -0400 | [diff] [blame] | 21 | obj-$(CONFIG_FUNCTION_TRACER) += ftrace-entry.o |
Mike Frysinger | 1ee76d7 | 2009-06-10 04:45:29 -0400 | [diff] [blame] | 22 | obj-$(CONFIG_FUNCTION_GRAPH_TRACER) += ftrace.o |
| 23 | CFLAGS_REMOVE_ftrace.o = -pg |
| 24 | |
Yi Li | 6a01f23 | 2009-01-07 23:14:39 +0800 | [diff] [blame] | 25 | obj-$(CONFIG_IPIPE) += ipipe.o |
Mike Frysinger | 780431e | 2007-10-21 23:37:54 +0800 | [diff] [blame] | 26 | obj-$(CONFIG_BFIN_GPTIMERS) += gptimers.o |
Mike Frysinger | ff4c02e | 2008-11-18 17:48:22 +0800 | [diff] [blame] | 27 | obj-$(CONFIG_CPLB_INFO) += cplbinfo.o |
Bryan Wu | 1394f03 | 2007-05-06 14:50:22 -0700 | [diff] [blame] | 28 | obj-$(CONFIG_MODULES) += module.o |
Sonic Zhang | 474f1a6 | 2007-06-29 16:35:17 +0800 | [diff] [blame] | 29 | obj-$(CONFIG_KGDB) += kgdb.o |
Mike Frysinger | 34d464f | 2009-03-02 18:14:47 +0800 | [diff] [blame] | 30 | obj-$(CONFIG_KGDB_TESTS) += kgdb_test.o |
Graf Yang | 60ffdb3 | 2010-01-20 10:56:24 +0000 | [diff] [blame] | 31 | obj-$(CONFIG_NMI_WATCHDOG) += nmi.o |
Robin Getz | 0ae5364 | 2007-10-09 17:24:49 +0800 | [diff] [blame] | 32 | obj-$(CONFIG_EARLY_PRINTK) += early_printk.o |
Robin Getz | 3f871fea | 2009-07-06 14:53:19 +0000 | [diff] [blame] | 33 | obj-$(CONFIG_EARLY_PRINTK) += shadow_console.o |
Mike Frysinger | c7b412f | 2009-06-08 18:44:45 -0400 | [diff] [blame] | 34 | obj-$(CONFIG_STACKTRACE) += stacktrace.o |
Robin Getz | d28cff4 | 2010-03-11 19:26:38 +0000 | [diff] [blame] | 35 | obj-$(CONFIG_DEBUG_VERBOSE) += trace.o |
Robin Getz | 6ce3e9c | 2010-03-16 14:40:17 +0000 | [diff] [blame] | 36 | obj-$(CONFIG_BFIN_PSEUDODBG_INSNS) += pseudodbg.o |
Mike Frysinger | 7db7917 | 2011-05-06 11:47:52 -0400 | [diff] [blame] | 37 | obj-$(CONFIG_PERF_EVENTS) += perf_event.o |
Mike Frysinger | 34d464f | 2009-03-02 18:14:47 +0800 | [diff] [blame] | 38 | |
| 39 | # the kgdb test puts code into L2 and without linker |
| 40 | # relaxation, we need to force long calls to/from it |
Sonic Zhang | a9930fd | 2011-08-12 17:57:57 +0800 | [diff] [blame] | 41 | CFLAGS_kgdb_test.o := -mlong-calls |
Mike Frysinger | 73ecfcf | 2007-09-25 05:14:15 +0000 | [diff] [blame] | 42 | |
| 43 | obj-$(CONFIG_DEBUG_MMRS) += debug-mmrs.o |