1# SPDX-License-Identifier: GPL-2.0-only 2 3CFLAGS_init.o := -mcmodel=medany 4ifdef CONFIG_FTRACE 5CFLAGS_REMOVE_init.o = $(CC_FLAGS_FTRACE) 6CFLAGS_REMOVE_cacheflush.o = $(CC_FLAGS_FTRACE) 7endif 8 9KCOV_INSTRUMENT_init.o := n 10 11obj-y += init.o 12obj-y += extable.o 13obj-$(CONFIG_MMU) += fault.o pageattr.o 14obj-y += cacheflush.o 15obj-y += context.o 16 17ifeq ($(CONFIG_MMU),y) 18obj-$(CONFIG_SMP) += tlbflush.o 19endif 20obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o 21obj-$(CONFIG_PTDUMP_CORE) += ptdump.o 22obj-$(CONFIG_KASAN) += kasan_init.o 23 24ifdef CONFIG_KASAN 25KASAN_SANITIZE_kasan_init.o := n 26KASAN_SANITIZE_init.o := n 27endif 28 29obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o 30