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