xref: /openbmc/linux/arch/powerpc/mm/book3s64/Makefile (revision 7ebc4903)
147d99948SChristophe Leroy# SPDX-License-Identifier: GPL-2.0
247d99948SChristophe Leroy
347d99948SChristophe Leroyccflags-y	:= $(NO_MINIMAL_TOC)
447d99948SChristophe Leroy
547d99948SChristophe LeroyCFLAGS_REMOVE_slb.o = $(CC_FLAGS_FTRACE)
647d99948SChristophe Leroy
747d99948SChristophe Leroyobj-y				+= hash_pgtable.o hash_utils.o slb.o \
847d99948SChristophe Leroy				   mmu_context.o pgtable.o hash_tlb.o
9*7ebc4903SNicholas Pigginobj-$(CONFIG_PPC_HASH_MMU_NATIVE)	+= hash_native.o
1047d99948SChristophe Leroyobj-$(CONFIG_PPC_RADIX_MMU)	+= radix_pgtable.o radix_tlb.o
1147d99948SChristophe Leroyobj-$(CONFIG_PPC_4K_PAGES)	+= hash_4k.o
1247d99948SChristophe Leroyobj-$(CONFIG_PPC_64K_PAGES)	+= hash_64k.o
1347d99948SChristophe Leroyobj-$(CONFIG_HUGETLB_PAGE)	+= hash_hugetlbpage.o
1447d99948SChristophe Leroyifdef CONFIG_HUGETLB_PAGE
1547d99948SChristophe Leroyobj-$(CONFIG_PPC_RADIX_MMU)	+= radix_hugetlbpage.o
1647d99948SChristophe Leroyendif
1747d99948SChristophe Leroyobj-$(CONFIG_TRANSPARENT_HUGEPAGE) += hash_hugepage.o
1847d99948SChristophe Leroyobj-$(CONFIG_PPC_SUBPAGE_PROT)	+= subpage_prot.o
1947d99948SChristophe Leroyobj-$(CONFIG_SPAPR_TCE_IOMMU)	+= iommu_api.o
20227ae625SAneesh Kumar K.Vobj-$(CONFIG_PPC_PKEY)	+= pkeys.o
2147d99948SChristophe Leroy
2247d99948SChristophe Leroy# Instrumenting the SLB fault path can lead to duplicate SLB entries
2347d99948SChristophe LeroyKCOV_INSTRUMENT_slb.o := n
24