aboutsummaryrefslogtreecommitdiffstats
path: root/arch/nds32/kernel/Makefile
blob: f52bd2744f50ac9affd70ab81fff793272774476 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#
# Makefile for the linux kernel.
#

CPPFLAGS_vmlinux.lds	:= -DTEXTADDR=$(TEXTADDR)
AFLAGS_head.o		:= -DTEXTADDR=$(TEXTADDR)
# Object file lists.

obj-y			:= ex-entry.o ex-exit.o ex-scall.o irq.o \
			process.o ptrace.o setup.o signal.o \
			sys_nds32.o time.o traps.o cacheinfo.o \
			dma.o syscall_table.o vdso.o

obj-$(CONFIG_MODULES)		+= nds32_ksyms.o module.o
obj-$(CONFIG_STACKTRACE)	+= stacktrace.o
obj-$(CONFIG_OF)		+= devtree.o
obj-$(CONFIG_CACHE_L2)		+= atl2c.o
obj-$(CONFIG_PERF_EVENTS) += perf_event_cpu.o

extra-y := head.o vmlinux.lds

obj-y				+= vdso/

obj-$(CONFIG_FUNCTION_TRACER)   += ftrace.o

ifdef CONFIG_FUNCTION_TRACER
CFLAGS_REMOVE_ftrace.o = $(CC_FLAGS_FTRACE)
endif