Merge tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[linux-2.6-microblaze.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 += fault.o
10 obj-y += extable.o
11 obj-y += ioremap.o
12 obj-y += cacheflush.o
13 obj-y += context.o
14 obj-y += sifive_l2_cache.o
15
16 ifeq ($(CONFIG_MMU),y)
17 obj-$(CONFIG_SMP) += tlbflush.o
18 endif
19 obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o