1 # SPDX-License-Identifier: GPL-2.0-only !! 1 # >> 2 # Makefile for the linux ppc-specific parts of the memory manager. >> 3 # 2 4 3 CFLAGS_init.o := -mcmodel=medany !! 5 ifdef CONFIG_PPC64BRIDGE 4 ifdef CONFIG_RELOCATABLE !! 6 EXTRA_AFLAGS := -Wa,-mppc64bridge 5 CFLAGS_init.o += -fno-pie << 6 endif 7 endif 7 8 8 ifdef CONFIG_FTRACE !! 9 obj-y := fault.o init.o mem_pieces.o extable.o \ 9 CFLAGS_REMOVE_init.o = $(CC_FLAGS_FTRACE) !! 10 mmu_context.o pgtable.o 10 CFLAGS_REMOVE_cacheflush.o = $(CC_FLAGS_FTRACE << 11 endif << 12 << 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 << 32 11 33 obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o !! 12 obj-$(CONFIG_PPC_STD_MMU) += hashtable.o ppc_mmu.o tlb.o 34 obj-$(CONFIG_RISCV_DMA_NONCOHERENT) += dma-non !! 13 obj-$(CONFIG_40x) += 4xx_mmu.o 35 obj-$(CONFIG_RISCV_NONSTANDARD_CACHE_OPS) += c !! 14 obj-$(CONFIG_44x) += 44x_mmu.o >> 15 obj-$(CONFIG_NOT_COHERENT_CACHE) += cachemap.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.