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