Makefile 339 字节
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