blob: 46f483e952c8cd62d314895fbca27bb93bb54bb4 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#
3# Makefile for the Linux/MIPS-specific parts of the memory manager.
4#
5
Paul Burton7e8556d2019-02-02 01:43:23 +00006obj-y += cache.o
Paul Burton4ebea492019-02-02 01:43:24 +00007obj-y += context.o
Paul Burton7e8556d2019-02-02 01:43:23 +00008obj-y += extable.o
9obj-y += fault.o
Paul Burton7e8556d2019-02-02 01:43:23 +000010obj-y += init.o
11obj-y += mmap.o
12obj-y += page.o
13obj-y += page-funcs.o
14obj-y += pgtable.o
15obj-y += tlbex.o
16obj-y += tlbex-fault.o
17obj-y += tlb-funcs.o
Maciej W. Rozyckic441d4a2014-11-15 22:07:21 +000018
19ifdef CONFIG_CPU_MICROMIPS
20obj-y += uasm-micromips.o
21else
22obj-y += uasm-mips.o
23endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070024
Ralf Baechle875d43e2005-09-03 15:56:16 -070025obj-$(CONFIG_32BIT) += ioremap.o pgtable-32.o
26obj-$(CONFIG_64BIT) += pgtable-64.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070027obj-$(CONFIG_HIGHMEM) += highmem.o
David Daney50a41ff2009-05-27 17:47:42 -070028obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
Christoph Hellwigf8c55dc2018-06-15 13:08:46 +020029obj-$(CONFIG_DMA_NONCOHERENT) += dma-noncoherent.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070030
Paul Burton54746822019-08-31 15:40:43 +000031obj-$(CONFIG_CPU_R3K_TLB) += tlb-r3k.o
Florian Fainelli62cedc42012-01-31 18:18:45 +010032obj-$(CONFIG_CPU_R4K_CACHE_TLB) += c-r4k.o cex-gen.o tlb-r4k.o
Paul Burton54746822019-08-31 15:40:43 +000033obj-$(CONFIG_CPU_R3000) += c-r3k.o
Thiemo Seuferfb2a27e72008-02-18 19:32:49 +000034obj-$(CONFIG_CPU_SB1) += c-r4k.o cerr-sb1.o cex-sb1.o tlb-r4k.o
Paul Burton54746822019-08-31 15:40:43 +000035obj-$(CONFIG_CPU_TX39XX) += c-tx39.o
Ralf Baechle70342282013-01-22 12:59:30 +010036obj-$(CONFIG_CPU_CAVIUM_OCTEON) += c-octeon.o cex-oct.o tlb-r4k.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070037
38obj-$(CONFIG_IP22_CPU_SCACHE) += sc-ip22.o
Ralf Baechle70342282013-01-22 12:59:30 +010039obj-$(CONFIG_R5000_CPU_SCACHE) += sc-r5k.o
40obj-$(CONFIG_RM7000_CPU_SCACHE) += sc-rm7k.o
Chris Dearman9318c512006-06-20 17:15:20 +010041obj-$(CONFIG_MIPS_CPU_SCACHE) += sc-mips.o
Paul Burtond478b082015-09-22 10:10:56 -070042obj-$(CONFIG_SCACHE_DEBUGFS) += sc-debugfs.o