1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 # 2 # 3 # Makefile for the Linux SuperH-specific parts !! 3 # Makefile for the Linux/MIPS-specific parts of the memory manager. 4 # 4 # 5 5 6 obj-y := alignment.o cache.o !! 6 obj-y += cache.o 7 !! 7 obj-y += context.o 8 cacheops-$(CONFIG_CPU_J2) := cac !! 8 obj-y += extable.o 9 cacheops-$(CONFIG_CPU_SUBTYPE_SH7619) := cac !! 9 obj-y += fault.o 10 cacheops-$(CONFIG_CPU_SH2A) := cac !! 10 obj-y += init.o 11 cacheops-$(CONFIG_CPU_SH3) := cac !! 11 obj-y += mmap.o 12 cacheops-$(CONFIG_CPU_SH4) := cac !! 12 obj-y += page.o 13 cacheops-$(CONFIG_SH7705_CACHE_32KB) += cac !! 13 obj-y += page-funcs.o 14 cacheops-$(CONFIG_CPU_SHX3) += cac !! 14 obj-y += pgtable.o 15 !! 15 obj-y += tlbex.o 16 obj-y += $(cacheops-y) !! 16 obj-y += tlbex-fault.o 17 !! 17 obj-y += tlb-funcs.o 18 mmu-y := nommu.o extable_32. !! 18 19 mmu-$(CONFIG_MMU) := extable_32.o fault. !! 19 ifdef CONFIG_CPU_MICROMIPS 20 pgtable.o tlbex_32. !! 20 obj-y += uasm-micromips.o 21 !! 21 else 22 obj-y += $(mmu-y) !! 22 obj-y += uasm-mips.o 23 << 24 debugfs-y := asids-debug << 25 ifndef CONFIG_CACHE_OFF << 26 debugfs-$(CONFIG_CPU_SH4) += cache-debug << 27 endif 23 endif 28 24 29 ifdef CONFIG_MMU !! 25 ifndef CONFIG_EVA 30 debugfs-$(CONFIG_CPU_SH4) += tlb-debugfs !! 26 obj-y += maccess.o 31 tlb-$(CONFIG_CPU_SH3) := tlb-sh3.o << 32 tlb-$(CONFIG_CPU_SH4) := tlb-sh4.o t << 33 tlb-$(CONFIG_CPU_HAS_PTEAEX) := tlb-pteaex. << 34 obj-y += $(tlb-y) << 35 endif 27 endif 36 28 37 obj-$(CONFIG_DEBUG_FS) += $(debugfs-y !! 29 obj-$(CONFIG_32BIT) += ioremap.o pgtable-32.o >> 30 obj-$(CONFIG_64BIT) += ioremap64.o pgtable-64.o >> 31 obj-$(CONFIG_HIGHMEM) += highmem.o 38 obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage 32 obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o 39 obj-$(CONFIG_PMB) += pmb.o !! 33 obj-$(CONFIG_DMA_NONCOHERENT) += dma-noncoherent.o 40 obj-$(CONFIG_NUMA) += numa.o !! 34 41 obj-$(CONFIG_IOREMAP_FIXED) += ioremap_fix !! 35 obj-$(CONFIG_CPU_R3K_TLB) += tlb-r3k.o 42 obj-$(CONFIG_UNCACHED_MAPPING) += uncached.o !! 36 obj-$(CONFIG_CPU_R4K_CACHE_TLB) += c-r4k.o cex-gen.o tlb-r4k.o 43 obj-$(CONFIG_HAVE_SRAM_POOL) += sram.o !! 37 obj-$(CONFIG_CPU_R3000) += c-r3k.o >> 38 obj-$(CONFIG_CPU_SB1) += c-r4k.o cerr-sb1.o cex-sb1.o tlb-r4k.o >> 39 obj-$(CONFIG_CPU_CAVIUM_OCTEON) += c-octeon.o cex-oct.o tlb-r4k.o >> 40 >> 41 obj-$(CONFIG_IP22_CPU_SCACHE) += sc-ip22.o >> 42 obj-$(CONFIG_R5000_CPU_SCACHE) += sc-r5k.o >> 43 obj-$(CONFIG_RM7000_CPU_SCACHE) += sc-rm7k.o >> 44 obj-$(CONFIG_MIPS_CPU_SCACHE) += sc-mips.o >> 45 obj-$(CONFIG_SCACHE_DEBUGFS) += sc-debugfs.o 44 46 45 GCOV_PROFILE_pmb.o := n !! 47 obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.