Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Anup Patel | 387181d | 2019-03-26 08:03:47 +0000 | [diff] [blame] | 2 | |
| 3 | CFLAGS_init.o := -mcmodel=medany |
| 4 | ifdef CONFIG_FTRACE |
| 5 | CFLAGS_REMOVE_init.o = -pg |
| 6 | endif |
| 7 | |
Palmer Dabbelt | fbe934d | 2017-07-10 18:08:08 -0700 | [diff] [blame] | 8 | obj-y += init.o |
Palmer Dabbelt | fbe934d | 2017-07-10 18:08:08 -0700 | [diff] [blame] | 9 | obj-y += extable.o |
Linus Torvalds | a308a71 | 2019-11-28 10:57:12 -0800 | [diff] [blame] | 10 | obj-$(CONFIG_MMU) += fault.o |
Andrew Waterman | 08f051e | 2017-10-25 14:30:32 -0700 | [diff] [blame] | 11 | obj-y += cacheflush.o |
Gary Guo | f6635f8 | 2019-03-27 00:41:29 +0000 | [diff] [blame] | 12 | obj-y += context.o |
Alexandre Ghiti | 9e953cd | 2019-05-26 08:50:38 -0400 | [diff] [blame] | 13 | |
Christoph Hellwig | 95594cb | 2019-08-21 23:58:37 +0900 | [diff] [blame] | 14 | ifeq ($(CONFIG_MMU),y) |
| 15 | obj-$(CONFIG_SMP) += tlbflush.o |
| 16 | endif |
Alexandre Ghiti | 9e953cd | 2019-05-26 08:50:38 -0400 | [diff] [blame] | 17 | obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o |