xref: /openbmc/linux/arch/sparc/mm/Makefile (revision ba61bb17)
1# SPDX-License-Identifier: GPL-2.0
2# Makefile for the linux Sparc-specific parts of the memory manager.
3#
4
5asflags-y := -ansi
6ccflags-y := -Werror
7
8obj-$(CONFIG_SPARC64)   += ultra.o tlb.o tsb.o gup.o
9obj-y                   += fault_$(BITS).o
10obj-y                   += init_$(BITS).o
11obj-$(CONFIG_SPARC32)   += extable.o srmmu.o iommu.o io-unit.o
12obj-$(CONFIG_SPARC32)   += srmmu_access.o
13obj-$(CONFIG_SPARC32)   += hypersparc.o viking.o tsunami.o swift.o
14obj-$(CONFIG_SPARC32)   += leon_mm.o
15
16# Only used by sparc64
17obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
18
19# Only used by sparc32
20obj-$(CONFIG_HIGHMEM)   += highmem.o
21