treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / nds32 / kernel / Makefile
blob394df3f6442cad837dba4888751470b9af9aa4d2
1 # SPDX-License-Identifier: GPL-2.0-only
3 # Makefile for the linux kernel.
6 CPPFLAGS_vmlinux.lds := -DTEXTADDR=$(TEXTADDR)
7 AFLAGS_head.o := -DTEXTADDR=$(TEXTADDR)
8 # Object file lists.
10 obj-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
15 obj-$(CONFIG_MODULES) += nds32_ksyms.o module.o
16 obj-$(CONFIG_STACKTRACE) += stacktrace.o
17 obj-$(CONFIG_FPU) += fpu.o
18 obj-$(CONFIG_OF) += devtree.o
19 obj-$(CONFIG_CACHE_L2) += atl2c.o
20 obj-$(CONFIG_PERF_EVENTS) += perf_event_cpu.o
21 obj-$(CONFIG_PM) += pm.o sleep.o
22 extra-y := head.o vmlinux.lds
24 CFLAGS_fpu.o += -mext-fpu-sp -mext-fpu-dp
27 obj-y += vdso/
29 obj-$(CONFIG_FUNCTION_TRACER) += ftrace.o
31 ifdef CONFIG_FUNCTION_TRACER
32 CFLAGS_REMOVE_ftrace.o = $(CC_FLAGS_FTRACE)
33 endif