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