1 # SPDX-License-Identifier: GPL-2.0-only
3 CFLAGS_init.o := -mcmodel=medany
5 CFLAGS_REMOVE_init.o = $(CC_FLAGS_FTRACE)
6 CFLAGS_REMOVE_cacheflush.o = $(CC_FLAGS_FTRACE)
9 KCOV_INSTRUMENT_init.o := n
13 obj-$(CONFIG_MMU) += fault.o pageattr.o
17 ifeq ($(CONFIG_MMU),y)
18 obj-$(CONFIG_SMP) += tlbflush.o
20 obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
21 obj-$(CONFIG_PTDUMP_CORE) += ptdump.o
22 obj-$(CONFIG_KASAN) += kasan_init.o
25 KASAN_SANITIZE_kasan_init.o := n
26 KASAN_SANITIZE_init.o := n
29 obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o