1#
2# Makefile for the linux kernel.
3#
4
5CPPFLAGS_vmlinux.lds	:= -DTEXTADDR=$(TEXTADDR)
6AFLAGS_head.o		:= -DTEXTADDR=$(TEXTADDR)
7
8# Object file lists.
9
10obj-y			:= ex-entry.o ex-exit.o ex-scall.o irq.o \
11			process.o ptrace.o setup.o signal.o \
12			sys_nds32.o time.o traps.o cacheinfo.o \
13			dma.o syscall_table.o vdso.o
14
15obj-$(CONFIG_MODULES)		+= nds32_ksyms.o module.o
16obj-$(CONFIG_STACKTRACE)	+= stacktrace.o
17obj-$(CONFIG_OF)		+= devtree.o
18obj-$(CONFIG_CACHE_L2)		+= atl2c.o
19
20extra-y := head.o vmlinux.lds
21
22
23obj-y				+= vdso/
24
25obj-$(CONFIG_FUNCTION_TRACER)   += ftrace.o
26
27ifdef CONFIG_FUNCTION_TRACER
28CFLAGS_REMOVE_ftrace.o = $(CC_FLAGS_FTRACE)
29endif
30