forked from Minki/linux
16caadb8c8
Same code. Use the generic version. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Michal Simek <monstr@monstr.eu> Link: http://lkml.kernel.org/r/20120503085034.881532838@linutronix.de
35 lines
889 B
Makefile
35 lines
889 B
Makefile
#
|
|
# Makefile
|
|
#
|
|
|
|
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
|
|
CFLAGS_REMOVE_process.o = -pg
|
|
endif
|
|
|
|
extra-y := head.o vmlinux.lds
|
|
|
|
obj-y += dma.o exceptions.o \
|
|
hw_exception_handler.o intc.o irq.o \
|
|
process.o prom.o prom_parse.o ptrace.o \
|
|
reset.o setup.o signal.o sys_microblaze.o timer.o traps.o unwind.o
|
|
|
|
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
|
|
obj-$(CONFIG_MMU) += misc.o
|
|
obj-$(CONFIG_STACKTRACE) += stacktrace.o
|
|
obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o mcount.o
|
|
obj-$(CONFIG_KGDB) += kgdb.o
|
|
|
|
obj-y += entry$(MMU).o
|