2019-05-19 12:07:45 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2019-03-26 08:03:47 +00:00
|
|
|
|
|
|
|
CFLAGS_init.o := -mcmodel=medany
|
|
|
|
ifdef CONFIG_FTRACE
|
|
|
|
CFLAGS_REMOVE_init.o = -pg
|
|
|
|
endif
|
|
|
|
|
2017-07-11 01:08:08 +00:00
|
|
|
obj-y += init.o
|
|
|
|
obj-y += fault.o
|
|
|
|
obj-y += extable.o
|
|
|
|
obj-y += ioremap.o
|
2017-10-25 21:30:32 +00:00
|
|
|
obj-y += cacheflush.o
|
2019-03-27 00:41:29 +00:00
|
|
|
obj-y += context.o
|
2019-05-06 10:48:40 +00:00
|
|
|
obj-y += sifive_l2_cache.o
|
2019-05-26 12:50:38 +00:00
|
|
|
|
2019-08-21 14:58:37 +00:00
|
|
|
ifeq ($(CONFIG_MMU),y)
|
|
|
|
obj-$(CONFIG_SMP) += tlbflush.o
|
|
|
|
endif
|
2019-05-26 12:50:38 +00:00
|
|
|
obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
|