2009-03-27 16:25:51 +03:00
|
|
|
#
|
|
|
|
# Makefile
|
|
|
|
#
|
|
|
|
|
2009-11-16 11:40:14 +03: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
|
|
|
|
endif
|
|
|
|
|
2009-03-27 16:25:51 +03:00
|
|
|
extra-y := head.o vmlinux.lds
|
|
|
|
|
|
|
|
obj-y += exceptions.o \
|
|
|
|
hw_exception_handler.o init_task.o intc.o irq.o of_device.o \
|
|
|
|
of_platform.o process.o prom.o prom_parse.o ptrace.o \
|
2009-10-02 14:48:47 +04:00
|
|
|
setup.o signal.o sys_microblaze.o timer.o traps.o reset.o
|
2009-03-27 16:25:51 +03: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 18:30:32 +04:00
|
|
|
obj-$(CONFIG_MMU) += misc.o
|
2009-11-10 17:57:01 +03:00
|
|
|
obj-$(CONFIG_STACKTRACE) += stacktrace.o
|
2009-12-10 16:15:44 +03:00
|
|
|
obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o mcount.o
|
2009-03-27 16:25:51 +03:00
|
|
|
|
2009-07-24 11:04:49 +04:00
|
|
|
obj-y += entry$(MMU).o
|