Makefile 506 字节
Newer Older
1
# SPDX-License-Identifier: GPL-2.0-only
2 3 4 5 6 7

CFLAGS_init.o := -mcmodel=medany
ifdef CONFIG_FTRACE
CFLAGS_REMOVE_init.o = -pg
endif

P
Palmer Dabbelt 已提交
8 9
obj-y += init.o
obj-y += extable.o
10
obj-$(CONFIG_MMU) += fault.o
11
obj-y += cacheflush.o
G
Gary Guo 已提交
12
obj-y += context.o
13

14 15 16
ifeq ($(CONFIG_MMU),y)
obj-$(CONFIG_SMP) += tlbflush.o
endif
17
obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
N
Nick Hu 已提交
18 19 20 21 22 23
obj-$(CONFIG_KASAN)   += kasan_init.o

ifdef CONFIG_KASAN
KASAN_SANITIZE_kasan_init.o := n
KASAN_SANITIZE_init.o := n
endif
24 25

obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o