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