blob: a1bd95c8047a1159cd8f4f497300497e496b0d6d [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Anup Patel387181d2019-03-26 08:03:47 +00002
3CFLAGS_init.o := -mcmodel=medany
4ifdef CONFIG_FTRACE
5CFLAGS_REMOVE_init.o = -pg
6endif
7
Palmer Dabbeltfbe934d2017-07-10 18:08:08 -07008obj-y += init.o
Palmer Dabbeltfbe934d2017-07-10 18:08:08 -07009obj-y += extable.o
Linus Torvaldsa308a712019-11-28 10:57:12 -080010obj-$(CONFIG_MMU) += fault.o
Andrew Waterman08f051e2017-10-25 14:30:32 -070011obj-y += cacheflush.o
Gary Guof6635f82019-03-27 00:41:29 +000012obj-y += context.o
Alexandre Ghiti9e953cd2019-05-26 08:50:38 -040013
Christoph Hellwig95594cb2019-08-21 23:58:37 +090014ifeq ($(CONFIG_MMU),y)
15obj-$(CONFIG_SMP) += tlbflush.o
16endif
Alexandre Ghiti9e953cd2019-05-26 08:50:38 -040017obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o