Makefile 852 字节
Newer Older
1 2 3 4
#
# Makefile
#

5 6 7 8 9 10 11 12 13 14
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

15 16 17 18 19
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 \
M
Michal Simek 已提交
20
	setup.o signal.o sys_microblaze.o timer.o traps.o reset.o
21 22 23 24 25 26 27

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
M
Michal Simek 已提交
28
obj-$(CONFIG_MMU)		+= misc.o
M
Michal Simek 已提交
29
obj-$(CONFIG_STACKTRACE)	+= stacktrace.o
30
obj-$(CONFIG_FUNCTION_TRACER)	+= ftrace.o mcount.o
31

S
Sam Ravnborg 已提交
32
obj-y	+= entry$(MMU).o