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