2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2019-03-26 16:03:47 +08:00
|
|
|
|
|
|
|
CFLAGS_init.o := -mcmodel=medany
|
|
|
|
ifdef CONFIG_FTRACE
|
|
|
|
CFLAGS_REMOVE_init.o = -pg
|
|
|
|
endif
|
|
|
|
|
2020-06-26 20:40:56 +08:00
|
|
|
KCOV_INSTRUMENT_init.o := n
|
|
|
|
|
2017-07-11 09:08:08 +08:00
|
|
|
obj-y += init.o
|
|
|
|
obj-y += extable.o
|
2020-03-10 00:55:36 +08:00
|
|
|
obj-$(CONFIG_MMU) += fault.o pageattr.o
|
2017-10-26 05:30:32 +08:00
|
|
|
obj-y += cacheflush.o
|
2019-03-27 08:41:29 +08:00
|
|
|
obj-y += context.o
|
2019-05-26 20:50:38 +08:00
|
|
|
|
2019-08-21 22:58:37 +08:00
|
|
|
ifeq ($(CONFIG_MMU),y)
|
|
|
|
obj-$(CONFIG_SMP) += tlbflush.o
|
|
|
|
endif
|
2019-05-26 20:50:38 +08:00
|
|
|
obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
|
2020-03-12 10:58:35 +08:00
|
|
|
obj-$(CONFIG_PTDUMP_CORE) += ptdump.o
|
2020-01-07 02:38:32 +08:00
|
|
|
obj-$(CONFIG_KASAN) += kasan_init.o
|
|
|
|
|
|
|
|
ifdef CONFIG_KASAN
|
|
|
|
KASAN_SANITIZE_kasan_init.o := n
|
|
|
|
KASAN_SANITIZE_init.o := n
|
|
|
|
endif
|
2020-01-02 11:12:39 +08:00
|
|
|
|
|
|
|
obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o
|