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