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 obj-y += cache.o >> 7 obj-y += context.o >> 8 obj-y += extable.o >> 9 obj-y += fault.o >> 10 obj-y += init.o >> 11 obj-y += mmap.o >> 12 obj-y += page.o >> 13 obj-y += page-funcs.o >> 14 obj-y += pgtable.o >> 15 obj-y += tlbex.o >> 16 obj-y += tlbex-fault.o >> 17 obj-y += tlb-funcs.o >> 18 >> 19 ifdef CONFIG_CPU_MICROMIPS >> 20 obj-y += uasm-micromips.o >> 21 else >> 22 obj-y += uasm-mips.o 6 endif 23 endif 7 24 8 ifdef CONFIG_FTRACE !! 25 ifndef CONFIG_EVA 9 CFLAGS_REMOVE_init.o = $(CC_FLAGS_FTRACE) !! 26 obj-y += maccess.o 10 CFLAGS_REMOVE_cacheflush.o = $(CC_FLAGS_FTRACE << 11 endif 27 endif 12 28 13 KCOV_INSTRUMENT_init.o := n !! 29 obj-$(CONFIG_32BIT) += ioremap.o pgtable-32.o 14 !! 30 obj-$(CONFIG_64BIT) += ioremap64.o pgtable-64.o 15 obj-y += init.o !! 31 obj-$(CONFIG_HIGHMEM) += highmem.o 16 obj-$(CONFIG_MMU) += extable.o fault.o pageatt !! 32 obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o 17 obj-y += cacheflush.o !! 33 obj-$(CONFIG_DMA_NONCOHERENT) += dma-noncoherent.o 18 obj-y += context.o !! 34 19 obj-y += pmem.o !! 35 obj-$(CONFIG_CPU_R3K_TLB) += tlb-r3k.o 20 !! 36 obj-$(CONFIG_CPU_R4K_CACHE_TLB) += c-r4k.o cex-gen.o tlb-r4k.o 21 obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o !! 37 obj-$(CONFIG_CPU_R3000) += c-r3k.o 22 obj-$(CONFIG_PTDUMP_CORE) += ptdump.o !! 38 obj-$(CONFIG_CPU_SB1) += c-r4k.o cerr-sb1.o cex-sb1.o tlb-r4k.o 23 obj-$(CONFIG_KASAN) += kasan_init.o !! 39 obj-$(CONFIG_CPU_TX39XX) += c-tx39.o 24 !! 40 obj-$(CONFIG_CPU_CAVIUM_OCTEON) += c-octeon.o cex-oct.o tlb-r4k.o 25 ifdef CONFIG_KASAN !! 41 26 KASAN_SANITIZE_kasan_init.o := n !! 42 obj-$(CONFIG_IP22_CPU_SCACHE) += sc-ip22.o 27 KASAN_SANITIZE_init.o := n !! 43 obj-$(CONFIG_R5000_CPU_SCACHE) += sc-r5k.o 28 ifdef CONFIG_DEBUG_VIRTUAL !! 44 obj-$(CONFIG_RM7000_CPU_SCACHE) += sc-rm7k.o 29 KASAN_SANITIZE_physaddr.o := n !! 45 obj-$(CONFIG_MIPS_CPU_SCACHE) += sc-mips.o 30 endif !! 46 obj-$(CONFIG_SCACHE_DEBUGFS) += sc-debugfs.o 31 endif << 32 47 33 obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o !! 48 obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o 34 obj-$(CONFIG_RISCV_DMA_NONCOHERENT) += dma-non << 35 obj-$(CONFIG_RISCV_NONSTANDARD_CACHE_OPS) += c <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.