Merge tag 'sched-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/kernel...
[linux/fpc-iii.git] / arch / riscv / mm / Makefile
blobc0185e556ca51b944e276267352119809ac1290e
1 # SPDX-License-Identifier: GPL-2.0-only
3 CFLAGS_init.o := -mcmodel=medany
4 ifdef CONFIG_FTRACE
5 CFLAGS_REMOVE_init.o = -pg
6 endif
8 KCOV_INSTRUMENT_init.o := n
10 obj-y += init.o
11 obj-y += extable.o
12 obj-$(CONFIG_MMU) += fault.o pageattr.o
13 obj-y += cacheflush.o
14 obj-y += context.o
16 ifeq ($(CONFIG_MMU),y)
17 obj-$(CONFIG_SMP) += tlbflush.o
18 endif
19 obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
20 obj-$(CONFIG_PTDUMP_CORE) += ptdump.o
21 obj-$(CONFIG_KASAN) += kasan_init.o
23 ifdef CONFIG_KASAN
24 KASAN_SANITIZE_kasan_init.o := n
25 KASAN_SANITIZE_init.o := n
26 endif
28 obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o