OSDN Git Service

riscv: add nommu support
[tomoyo/tomoyo-test1.git] / arch / riscv / mm / Makefile
1 # SPDX-License-Identifier: GPL-2.0-only
2
3 CFLAGS_init.o := -mcmodel=medany
4 ifdef CONFIG_FTRACE
5 CFLAGS_REMOVE_init.o = -pg
6 endif
7
8 obj-y += init.o
9 obj-y += extable.o
10 obj-$(CONFIG_MMU) += fault.o ioremap.o
11 obj-y += cacheflush.o
12 obj-y += context.o
13 obj-y += sifive_l2_cache.o
14
15 ifeq ($(CONFIG_MMU),y)
16 obj-$(CONFIG_SMP) += tlbflush.o
17 endif
18 obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o