1 # SPDX-License-Identifier: GPL-2.0 << 2 # 1 # 3 # Makefile for the Linux SuperH-specific parts !! 2 # Makefile for the Linux/MIPS-specific parts of the memory manager. 4 # 3 # >> 4 # Note! Dependencies are done automagically by 'make dep', which also >> 5 # removes any old dependencies. DON'T put your own dependencies here >> 6 # unless it's something special (ie not a .c file). >> 7 # >> 8 >> 9 USE_STANDARD_AS_RULE := true 5 10 6 obj-y := alignment.o cache.o !! 11 O_TARGET := mm.o 7 12 8 cacheops-$(CONFIG_CPU_J2) := cac !! 13 export-objs := cache.o ioremap.o loadmmu.o remap.o \ 9 cacheops-$(CONFIG_CPU_SUBTYPE_SH7619) := cac !! 14 tlb-r4k.o tlb-sb1.o 10 cacheops-$(CONFIG_CPU_SH2A) := cac !! 15 obj-y += cache.o extable.o init.o ioremap.o fault.o \ 11 cacheops-$(CONFIG_CPU_SH3) := cac !! 16 loadmmu.o 12 cacheops-$(CONFIG_CPU_SH4) := cac !! 17 13 cacheops-$(CONFIG_SH7705_CACHE_32KB) += cac !! 18 obj-$(CONFIG_CPU_R3000) += pg-r4k.o c-r3k.o tlb-r3k.o tlbex-r3k.o 14 cacheops-$(CONFIG_CPU_SHX3) += cac !! 19 obj-$(CONFIG_CPU_TX39XX) += pg-r4k.o c-tx39.o tlb-r3k.o tlbex-r3k.o 15 !! 20 obj-$(CONFIG_CPU_TX49XX) += pg-r4k.o c-r4k.o tlb-r4k.o tlbex-r4k.o 16 obj-y += $(cacheops-y) !! 21 obj-$(CONFIG_CPU_R4300) += pg-r4k.o c-r4k.o tlb-r4k.o tlbex-r4k.o 17 !! 22 obj-$(CONFIG_CPU_R4X00) += pg-r4k.o c-r4k.o tlb-r4k.o tlbex-r4k.o 18 mmu-y := nommu.o extable_32. !! 23 obj-$(CONFIG_CPU_VR41XX) += pg-r4k.o c-r4k.o tlb-r4k.o tlbex-r4k.o 19 mmu-$(CONFIG_MMU) := extable_32.o fault. !! 24 obj-$(CONFIG_CPU_R5000) += pg-r4k.o c-r4k.o tlb-r4k.o tlbex-r4k.o 20 pgtable.o tlbex_32. !! 25 obj-$(CONFIG_CPU_NEVADA) += pg-r4k.o c-r4k.o tlb-r4k.o tlbex-r4k.o 21 !! 26 obj-$(CONFIG_CPU_R5432) += pg-r4k.o c-r4k.o tlb-r4k.o tlbex-r4k.o 22 obj-y += $(mmu-y) !! 27 obj-$(CONFIG_CPU_RM7000) += pg-r4k.o c-r4k.o tlb-r4k.o tlbex-r4k.o 23 !! 28 obj-$(CONFIG_CPU_RM9000) += pg-r4k.o c-r4k.o tlb-r4k.o tlbex-r4k.o 24 debugfs-y := asids-debug !! 29 obj-$(CONFIG_CPU_R10000) += pg-r4k.o c-r4k.o tlb-r4k.o tlbex-r4k.o 25 ifndef CONFIG_CACHE_OFF !! 30 obj-$(CONFIG_CPU_MIPS32) += pg-r4k.o c-r4k.o tlb-r4k.o tlbex-mips32.o 26 debugfs-$(CONFIG_CPU_SH4) += cache-debug !! 31 obj-$(CONFIG_CPU_MIPS64) += pg-r4k.o c-r4k.o tlb-r4k.o tlbex-r4k.o 27 endif !! 32 obj-$(CONFIG_CPU_SB1) += pg-sb1.o c-sb1.o tlb-sb1.o tlbex-r4k.o \ 28 !! 33 cex-sb1.o cerr-sb1.o 29 ifdef CONFIG_MMU !! 34 30 debugfs-$(CONFIG_CPU_SH4) += tlb-debugfs !! 35 obj-$(CONFIG_64BIT_PHYS_ADDR) += remap.o 31 tlb-$(CONFIG_CPU_SH3) := tlb-sh3.o !! 36 obj-$(CONFIG_RM7000_CPU_SCACHE) += sc-rm7k.o 32 tlb-$(CONFIG_CPU_SH4) := tlb-sh4.o t !! 37 obj-$(CONFIG_R5000_CPU_SCACHE) += sc-r5k.o 33 tlb-$(CONFIG_CPU_HAS_PTEAEX) := tlb-pteaex. !! 38 obj-$(CONFIG_SGI_IP22) += sc-ip22.o 34 obj-y += $(tlb-y) << 35 endif << 36 << 37 obj-$(CONFIG_DEBUG_FS) += $(debugfs-y << 38 obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage << 39 obj-$(CONFIG_PMB) += pmb.o << 40 obj-$(CONFIG_NUMA) += numa.o << 41 obj-$(CONFIG_IOREMAP_FIXED) += ioremap_fix << 42 obj-$(CONFIG_UNCACHED_MAPPING) += uncached.o << 43 obj-$(CONFIG_HAVE_SRAM_POOL) += sram.o << 44 39 45 GCOV_PROFILE_pmb.o := n !! 40 include $(TOPDIR)/Rules.make
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.