2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2019-08-13 17:52:20 +08:00
|
|
|
obj-y := extable.o tlb.o fault.o init.o mmap.o \
|
2017-10-25 15:03:49 +08:00
|
|
|
mm-nds32.o cacheflush.o proc.o
|
|
|
|
|
|
|
|
obj-$(CONFIG_ALIGNMENT_TRAP) += alignment.o
|
2018-10-18 16:37:55 +08:00
|
|
|
|
|
|
|
ifdef CONFIG_FUNCTION_TRACER
|
|
|
|
CFLAGS_REMOVE_proc.o = $(CC_FLAGS_FTRACE)
|
|
|
|
endif
|
|
|
|
CFLAGS_proc.o += -fomit-frame-pointer
|