2009-03-27 21:25:51 +08:00
|
|
|
#
|
|
|
|
# Makefile
|
|
|
|
#
|
|
|
|
|
2009-11-16 16:40:14 +08:00
|
|
|
ifdef CONFIG_FUNCTION_TRACER
|
|
|
|
# Do not trace early boot code and low level code
|
|
|
|
CFLAGS_REMOVE_timer.o = -pg
|
|
|
|
CFLAGS_REMOVE_intc.o = -pg
|
|
|
|
CFLAGS_REMOVE_early_printk.o = -pg
|
|
|
|
CFLAGS_REMOVE_selfmod.o = -pg
|
|
|
|
CFLAGS_REMOVE_heartbeat.o = -pg
|
|
|
|
CFLAGS_REMOVE_ftrace.o = -pg
|
2011-03-18 20:52:27 +08:00
|
|
|
CFLAGS_REMOVE_process.o = -pg
|
2009-11-16 16:40:14 +08:00
|
|
|
endif
|
|
|
|
|
2009-03-27 21:25:51 +08:00
|
|
|
extra-y := head.o vmlinux.lds
|
|
|
|
|
2010-01-14 18:21:02 +08:00
|
|
|
obj-y += dma.o exceptions.o \
|
2012-05-03 17:02:55 +08:00
|
|
|
hw_exception_handler.o intc.o irq.o \
|
2010-07-24 02:19:24 +08:00
|
|
|
process.o prom.o prom_parse.o ptrace.o \
|
2010-04-28 01:37:54 +08:00
|
|
|
reset.o setup.o signal.o sys_microblaze.o timer.o traps.o unwind.o
|
2009-03-27 21:25:51 +08:00
|
|
|
|
|
|
|
obj-y += cpu/
|
|
|
|
|
|
|
|
obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
|
|
|
|
obj-$(CONFIG_SELFMOD) += selfmod.o
|
|
|
|
obj-$(CONFIG_HEART_BEAT) += heartbeat.o
|
|
|
|
obj-$(CONFIG_MODULES) += microblaze_ksyms.o module.o
|
2009-05-26 22:30:32 +08:00
|
|
|
obj-$(CONFIG_MMU) += misc.o
|
2009-11-10 22:57:01 +08:00
|
|
|
obj-$(CONFIG_STACKTRACE) += stacktrace.o
|
2009-12-10 21:15:44 +08:00
|
|
|
obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o mcount.o
|
2010-08-03 17:45:08 +08:00
|
|
|
obj-$(CONFIG_KGDB) += kgdb.o
|
2009-03-27 21:25:51 +08:00
|
|
|
|
2009-07-24 15:04:49 +08:00
|
|
|
obj-y += entry$(MMU).o
|