1 # SPDX-License-Identifier: GPL-2.0-only !! 1 # Makefile for the linux Sparc-specific parts of the memory manager. >> 2 # 2 3 3 CFLAGS_init.o := -mcmodel=medany !! 4 asflags-y := -ansi 4 ifdef CONFIG_RELOCATABLE !! 5 ccflags-y := -Werror 5 CFLAGS_init.o += -fno-pie << 6 endif << 7 << 8 ifdef CONFIG_FTRACE << 9 CFLAGS_REMOVE_init.o = $(CC_FLAGS_FTRACE) << 10 CFLAGS_REMOVE_cacheflush.o = $(CC_FLAGS_FTRACE << 11 endif << 12 << 13 KCOV_INSTRUMENT_init.o := n << 14 6 15 obj-y += init.o !! 7 obj-$(CONFIG_SPARC64) += ultra.o tlb.o tsb.o 16 obj-$(CONFIG_MMU) += extable.o fault.o pageatt !! 8 obj-y += fault_$(BITS).o 17 obj-y += cacheflush.o !! 9 obj-y += init_$(BITS).o 18 obj-y += context.o !! 10 obj-$(CONFIG_SPARC32) += loadmmu.o 19 obj-y += pmem.o !! 11 obj-y += generic_$(BITS).o >> 12 obj-$(CONFIG_SPARC32) += extable.o btfixup.o srmmu.o iommu.o io-unit.o >> 13 obj-$(CONFIG_SPARC32) += hypersparc.o viking.o tsunami.o swift.o >> 14 obj-$(CONFIG_SPARC_LEON)+= leon_mm.o 20 15 >> 16 # Only used by sparc64 21 obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o 17 obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o 22 obj-$(CONFIG_PTDUMP_CORE) += ptdump.o << 23 obj-$(CONFIG_KASAN) += kasan_init.o << 24 18 25 ifdef CONFIG_KASAN !! 19 # Only used by sparc32 26 KASAN_SANITIZE_kasan_init.o := n !! 20 obj-$(CONFIG_HIGHMEM) += highmem.o 27 KASAN_SANITIZE_init.o := n << 28 ifdef CONFIG_DEBUG_VIRTUAL << 29 KASAN_SANITIZE_physaddr.o := n << 30 endif << 31 endif << 32 21 33 obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o !! 22 ifdef CONFIG_SMP 34 obj-$(CONFIG_RISCV_DMA_NONCOHERENT) += dma-non !! 23 obj-$(CONFIG_SPARC32) += nosun4c.o 35 obj-$(CONFIG_RISCV_NONSTANDARD_CACHE_OPS) += c !! 24 else >> 25 obj-$(CONFIG_SPARC32) += sun4c.o >> 26 endif
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.