xref: /openbmc/linux/arch/csky/mm/Makefile (revision 359ae00d)
1# SPDX-License-Identifier: GPL-2.0-only
2ifeq ($(CONFIG_CPU_HAS_CACHEV2),y)
3obj-y +=			cachev2.o
4CFLAGS_REMOVE_cachev2.o = $(CC_FLAGS_FTRACE)
5else
6obj-y +=			cachev1.o
7CFLAGS_REMOVE_cachev1.o = $(CC_FLAGS_FTRACE)
8endif
9
10obj-y +=			dma-mapping.o
11obj-y +=			fault.o
12obj-$(CONFIG_HIGHMEM) +=	highmem.o
13obj-y +=			init.o
14obj-y +=			ioremap.o
15obj-y +=			syscache.o
16obj-y +=			tlb.o
17obj-y +=			asid.o
18obj-y +=			context.o
19obj-$(CONFIG_HAVE_TCM) +=	tcm.o
20