xref: /openbmc/linux/arch/powerpc/mm/Makefile (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
214cf11afSPaul Mackerras#
314cf11afSPaul Mackerras# Makefile for the linux ppc-specific parts of the memory manager.
414cf11afSPaul Mackerras#
514cf11afSPaul Mackerras
61fbe9cf2SAnton Blanchardccflags-$(CONFIG_PPC64)	:= $(NO_MINIMAL_TOC)
73a5f8c5fSStephen Rothwell
8*36e5f9eeSChristophe Leroyobj-y				:= fault.o mem.o pgtable.o maccess.o pageattr.o \
99b081e10SChristophe Leroy				   init_$(BITS).o pgtable_$(BITS).o \
10f381d571SChristophe Leroy				   pgtable-frag.o ioremap.o ioremap_$(BITS).o \
11b26e8f27SChristophe Leroy				   init-common.o mmu_context.o drmem.o \
12b26e8f27SChristophe Leroy				   cacheflush.o
1327e23b5fSChristophe Leroyobj-$(CONFIG_PPC_MMU_NOHASH)	+= nohash/
1417312f25SChristophe Leroyobj-$(CONFIG_PPC_BOOK3S_32)	+= book3s32/
1547d99948SChristophe Leroyobj-$(CONFIG_PPC_BOOK3S_64)	+= book3s64/
16a9ee6cf5SMike Rapoportobj-$(CONFIG_NUMA) += numa.o
17b7dcf96cSChristophe Leroyobj-$(CONFIG_HUGETLB_PAGE)	+= hugetlbpage.o
18b16e7766SBenjamin Herrenschmidtobj-$(CONFIG_NOT_COHERENT_CACHE) += dma-noncoherent.o
19e83d0169SIan Munsieobj-$(CONFIG_PPC_COPRO_BASE)	+= copro_fault.o
20e0847283SChristophe Leroyobj-$(CONFIG_PTDUMP_CORE)	+= ptdump/
212edb16efSChristophe Leroyobj-$(CONFIG_KASAN)		+= kasan/
22