blob: 494b63b72dd7c9ae1879945de3fa398229d5c88b [file] [log] [blame]
Michal Simek5f8ffb52009-03-27 14:25:51 +01001#
2# Makefile
3#
4
Michal Simek2fd7c762009-11-16 09:40:14 +01005ifdef CONFIG_FUNCTION_TRACER
6# Do not trace early boot code and low level code
7CFLAGS_REMOVE_timer.o = -pg
8CFLAGS_REMOVE_intc.o = -pg
9CFLAGS_REMOVE_early_printk.o = -pg
10CFLAGS_REMOVE_selfmod.o = -pg
11CFLAGS_REMOVE_heartbeat.o = -pg
12CFLAGS_REMOVE_ftrace.o = -pg
Michal Simek9e1491d2011-03-18 13:52:27 +010013CFLAGS_REMOVE_process.o = -pg
Michal Simek2fd7c762009-11-16 09:40:14 +010014endif
15
Michal Simek5f8ffb52009-03-27 14:25:51 +010016extra-y := head.o vmlinux.lds
17
Michal Simekccfe27d2010-01-14 11:21:02 +010018obj-y += dma.o exceptions.o \
Grant Likely94c09312010-06-08 07:48:14 -060019 hw_exception_handler.o init_task.o intc.o irq.o \
Jonas Bonnc0dd3942010-07-23 20:19:24 +020020 process.o prom.o prom_parse.o ptrace.o \
Steven J. Magnanice3266c2010-04-27 12:37:54 -050021 reset.o setup.o signal.o sys_microblaze.o timer.o traps.o unwind.o
Michal Simek5f8ffb52009-03-27 14:25:51 +010022
23obj-y += cpu/
24
25obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
26obj-$(CONFIG_SELFMOD) += selfmod.o
27obj-$(CONFIG_HEART_BEAT) += heartbeat.o
28obj-$(CONFIG_MODULES) += microblaze_ksyms.o module.o
Michal Simek4b2368f2009-05-26 16:30:32 +020029obj-$(CONFIG_MMU) += misc.o
Michal Simek24b45a12009-11-10 15:57:01 +010030obj-$(CONFIG_STACKTRACE) += stacktrace.o
Michal Simek7d241ff2009-12-10 14:15:44 +010031obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o mcount.o
Michal Simek2d5973c2010-08-03 11:45:08 +020032obj-$(CONFIG_KGDB) += kgdb.o
Michal Simek5f8ffb52009-03-27 14:25:51 +010033
Sam Ravnborg950b2602009-07-24 09:04:49 +020034obj-y += entry$(MMU).o