162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Makefile for the Linux/MIPS-specific parts of the memory manager.
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciobj-y				+= cache.o
762306a36Sopenharmony_ciobj-y				+= context.o
862306a36Sopenharmony_ciobj-y				+= extable.o
962306a36Sopenharmony_ciobj-y				+= fault.o
1062306a36Sopenharmony_ciobj-y				+= init.o
1162306a36Sopenharmony_ciobj-y				+= mmap.o
1262306a36Sopenharmony_ciobj-y				+= page.o
1362306a36Sopenharmony_ciobj-y				+= page-funcs.o
1462306a36Sopenharmony_ciobj-y				+= pgtable.o
1562306a36Sopenharmony_ciobj-y				+= tlbex.o
1662306a36Sopenharmony_ciobj-y				+= tlbex-fault.o
1762306a36Sopenharmony_ciobj-y				+= tlb-funcs.o
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ciifdef CONFIG_CPU_MICROMIPS
2062306a36Sopenharmony_ciobj-y				+= uasm-micromips.o
2162306a36Sopenharmony_cielse
2262306a36Sopenharmony_ciobj-y				+= uasm-mips.o
2362306a36Sopenharmony_ciendif
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ciifndef CONFIG_EVA
2662306a36Sopenharmony_ciobj-y				+= maccess.o
2762306a36Sopenharmony_ciendif
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_ciobj-$(CONFIG_32BIT)		+= ioremap.o pgtable-32.o
3062306a36Sopenharmony_ciobj-$(CONFIG_64BIT)		+= ioremap64.o pgtable-64.o
3162306a36Sopenharmony_ciobj-$(CONFIG_HIGHMEM)		+= highmem.o
3262306a36Sopenharmony_ciobj-$(CONFIG_HUGETLB_PAGE)	+= hugetlbpage.o
3362306a36Sopenharmony_ciobj-$(CONFIG_DMA_NONCOHERENT)	+= dma-noncoherent.o
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ciobj-$(CONFIG_CPU_R3K_TLB)	+= tlb-r3k.o
3662306a36Sopenharmony_ciobj-$(CONFIG_CPU_R4K_CACHE_TLB) += c-r4k.o cex-gen.o tlb-r4k.o
3762306a36Sopenharmony_ciobj-$(CONFIG_CPU_R3000)		+= c-r3k.o
3862306a36Sopenharmony_ciobj-$(CONFIG_CPU_SB1)		+= c-r4k.o cerr-sb1.o cex-sb1.o tlb-r4k.o
3962306a36Sopenharmony_ciobj-$(CONFIG_CPU_CAVIUM_OCTEON) += c-octeon.o cex-oct.o tlb-r4k.o
4062306a36Sopenharmony_ci
4162306a36Sopenharmony_ciobj-$(CONFIG_IP22_CPU_SCACHE)	+= sc-ip22.o
4262306a36Sopenharmony_ciobj-$(CONFIG_R5000_CPU_SCACHE)	+= sc-r5k.o
4362306a36Sopenharmony_ciobj-$(CONFIG_RM7000_CPU_SCACHE) += sc-rm7k.o
4462306a36Sopenharmony_ciobj-$(CONFIG_MIPS_CPU_SCACHE)	+= sc-mips.o
4562306a36Sopenharmony_ciobj-$(CONFIG_SCACHE_DEBUGFS)	+= sc-debugfs.o
4662306a36Sopenharmony_ci
4762306a36Sopenharmony_ciobj-$(CONFIG_DEBUG_VIRTUAL)	+= physaddr.o
48