xref: /linux/arch/powerpc/mm/nohash/Makefile (revision 27e23b5f5f6f22292347901303aab2a1d458bcb5)
1*27e23b5fSChristophe Leroy# SPDX-License-Identifier: GPL-2.0
2*27e23b5fSChristophe Leroy
3*27e23b5fSChristophe Leroyccflags-$(CONFIG_PPC64)	:= $(NO_MINIMAL_TOC)
4*27e23b5fSChristophe Leroy
5*27e23b5fSChristophe Leroyobj-y				+= mmu_context.o tlb.o tlb_low.o
6*27e23b5fSChristophe Leroyobj-$(CONFIG_PPC_BOOK3E_64)  	+= tlb_low_64e.o book3e_pgtable.o
7*27e23b5fSChristophe Leroyobj-$(CONFIG_40x)		+= 40x.o
8*27e23b5fSChristophe Leroyobj-$(CONFIG_44x)		+= 44x.o
9*27e23b5fSChristophe Leroyobj-$(CONFIG_PPC_8xx)		+= 8xx.o
10*27e23b5fSChristophe Leroyobj-$(CONFIG_PPC_FSL_BOOK3E)	+= fsl_booke.o
11*27e23b5fSChristophe Leroyifdef CONFIG_HUGETLB_PAGE
12*27e23b5fSChristophe Leroyobj-$(CONFIG_PPC_BOOK3E_MMU)	+= book3e_hugetlbpage.o
13*27e23b5fSChristophe Leroyendif
14*27e23b5fSChristophe Leroy
15*27e23b5fSChristophe Leroy# Disable kcov instrumentation on sensitive code
16*27e23b5fSChristophe Leroy# This is necessary for booting with kcov enabled on book3e machines
17*27e23b5fSChristophe LeroyKCOV_INSTRUMENT_tlb.o := n
18*27e23b5fSChristophe LeroyKCOV_INSTRUMENT_fsl_booke.o := n
19