blob: 703dc7cf2ecc38a71b5a98e0925c6688cf454eea [file] [log] [blame]
Bryan Wu1394f032007-05-06 14:50:22 -07001#
2# arch/blackfin/kernel/Makefile
3#
4
Thomas Gleixner6e3e8442012-05-03 09:02:51 +00005extra-y := vmlinux.lds
Bryan Wu1394f032007-05-06 14:50:22 -07006
7obj-y := \
8 entry.o process.o bfin_ksyms.o ptrace.o setup.o signal.o \
Vitja Makarov8b5f79f2008-02-29 12:24:23 +08009 sys_bfin.o traps.o irqchip.o dma-mapping.o flat.o \
Sonic Zhangffb7fc02013-09-03 16:29:00 +080010 fixed_code.o reboot.o bfin_dma.o \
Robin Getzd28cff42010-03-11 19:26:38 +000011 exception.o dumpstack.o
Bryan Wu1394f032007-05-06 14:50:22 -070012
Vitja Makarov8b5f79f2008-02-29 12:24:23 +080013ifeq ($(CONFIG_GENERIC_CLOCKEVENTS),y)
14 obj-y += time-ts.o
15else
16 obj-y += time.o
17endif
18
Sonic Zhangffb7fc02013-09-03 16:29:00 +080019obj-$(CONFIG_GPIO_ADI) += bfin_gpio.o
Mike Frysingerf5074422010-07-21 09:13:02 -040020obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o
Mike Frysinger1c873be2009-06-09 07:25:09 -040021obj-$(CONFIG_FUNCTION_TRACER) += ftrace-entry.o
Mike Frysinger1ee76d72009-06-10 04:45:29 -040022obj-$(CONFIG_FUNCTION_GRAPH_TRACER) += ftrace.o
23CFLAGS_REMOVE_ftrace.o = -pg
24
Yi Li6a01f232009-01-07 23:14:39 +080025obj-$(CONFIG_IPIPE) += ipipe.o
Mike Frysinger780431e2007-10-21 23:37:54 +080026obj-$(CONFIG_BFIN_GPTIMERS) += gptimers.o
Mike Frysingerff4c02e2008-11-18 17:48:22 +080027obj-$(CONFIG_CPLB_INFO) += cplbinfo.o
Bryan Wu1394f032007-05-06 14:50:22 -070028obj-$(CONFIG_MODULES) += module.o
Sonic Zhang474f1a62007-06-29 16:35:17 +080029obj-$(CONFIG_KGDB) += kgdb.o
Mike Frysinger34d464f2009-03-02 18:14:47 +080030obj-$(CONFIG_KGDB_TESTS) += kgdb_test.o
Graf Yang60ffdb32010-01-20 10:56:24 +000031obj-$(CONFIG_NMI_WATCHDOG) += nmi.o
Robin Getz0ae53642007-10-09 17:24:49 +080032obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
Robin Getz3f871fea2009-07-06 14:53:19 +000033obj-$(CONFIG_EARLY_PRINTK) += shadow_console.o
Mike Frysingerc7b412f2009-06-08 18:44:45 -040034obj-$(CONFIG_STACKTRACE) += stacktrace.o
Robin Getzd28cff42010-03-11 19:26:38 +000035obj-$(CONFIG_DEBUG_VERBOSE) += trace.o
Robin Getz6ce3e9c2010-03-16 14:40:17 +000036obj-$(CONFIG_BFIN_PSEUDODBG_INSNS) += pseudodbg.o
Mike Frysinger7db79172011-05-06 11:47:52 -040037obj-$(CONFIG_PERF_EVENTS) += perf_event.o
Mike Frysinger34d464f2009-03-02 18:14:47 +080038
39# the kgdb test puts code into L2 and without linker
40# relaxation, we need to force long calls to/from it
Sonic Zhanga9930fd2011-08-12 17:57:57 +080041CFLAGS_kgdb_test.o := -mlong-calls
Mike Frysinger73ecfcf2007-09-25 05:14:15 +000042
43obj-$(CONFIG_DEBUG_MMRS) += debug-mmrs.o