1 # SPDX-License-Identifier: GPL-2.0-only !! 1 # SPDX-License-Identifier: GPL-2.0 2 !! 2 # 3 CFLAGS_init.o := -mcmodel=medany !! 3 # Makefile for the Linux/MIPS-specific parts of the memory manager. 4 ifdef CONFIG_RELOCATABLE !! 4 # 5 CFLAGS_init.o += -fno-pie !! 5 6 endif !! 6 obj-y += cache.o extable.o fault.o \ 7 !! 7 gup.o init.o mmap.o page.o page-funcs.o \ 8 ifdef CONFIG_FTRACE !! 8 pgtable.o tlbex.o tlbex-fault.o tlb-funcs.o 9 CFLAGS_REMOVE_init.o = $(CC_FLAGS_FTRACE) !! 9 10 CFLAGS_REMOVE_cacheflush.o = $(CC_FLAGS_FTRACE !! 10 ifdef CONFIG_CPU_MICROMIPS 11 endif !! 11 obj-y += uasm-micromips.o 12 !! 12 else 13 KCOV_INSTRUMENT_init.o := n !! 13 obj-y += uasm-mips.o 14 << 15 obj-y += init.o << 16 obj-$(CONFIG_MMU) += extable.o fault.o pageatt << 17 obj-y += cacheflush.o << 18 obj-y += context.o << 19 obj-y += pmem.o << 20 << 21 obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o << 22 obj-$(CONFIG_PTDUMP_CORE) += ptdump.o << 23 obj-$(CONFIG_KASAN) += kasan_init.o << 24 << 25 ifdef CONFIG_KASAN << 26 KASAN_SANITIZE_kasan_init.o := n << 27 KASAN_SANITIZE_init.o := n << 28 ifdef CONFIG_DEBUG_VIRTUAL << 29 KASAN_SANITIZE_physaddr.o := n << 30 endif << 31 endif 14 endif 32 15 33 obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o !! 16 obj-$(CONFIG_32BIT) += ioremap.o pgtable-32.o 34 obj-$(CONFIG_RISCV_DMA_NONCOHERENT) += dma-non !! 17 obj-$(CONFIG_64BIT) += pgtable-64.o 35 obj-$(CONFIG_RISCV_NONSTANDARD_CACHE_OPS) += c !! 18 obj-$(CONFIG_HIGHMEM) += highmem.o >> 19 obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o >> 20 obj-$(CONFIG_DMA_NONCOHERENT) += dma-noncoherent.o >> 21 >> 22 obj-$(CONFIG_CPU_R4K_CACHE_TLB) += c-r4k.o cex-gen.o tlb-r4k.o >> 23 obj-$(CONFIG_CPU_R3000) += c-r3k.o tlb-r3k.o >> 24 obj-$(CONFIG_CPU_R8000) += c-r4k.o cex-gen.o tlb-r8k.o >> 25 obj-$(CONFIG_CPU_SB1) += c-r4k.o cerr-sb1.o cex-sb1.o tlb-r4k.o >> 26 obj-$(CONFIG_CPU_TX39XX) += c-tx39.o tlb-r3k.o >> 27 obj-$(CONFIG_CPU_CAVIUM_OCTEON) += c-octeon.o cex-oct.o tlb-r4k.o >> 28 >> 29 obj-$(CONFIG_IP22_CPU_SCACHE) += sc-ip22.o >> 30 obj-$(CONFIG_R5000_CPU_SCACHE) += sc-r5k.o >> 31 obj-$(CONFIG_RM7000_CPU_SCACHE) += sc-rm7k.o >> 32 obj-$(CONFIG_MIPS_CPU_SCACHE) += sc-mips.o >> 33 obj-$(CONFIG_SCACHE_DEBUGFS) += sc-debugfs.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.