xref: /linux/arch/powerpc/mm/nohash/Makefile (revision 2b0e86cc5de6dabadc2d64cefa429fc227c8a756)
127e23b5fSChristophe Leroy# SPDX-License-Identifier: GPL-2.0
227e23b5fSChristophe Leroy
327e23b5fSChristophe Leroyccflags-$(CONFIG_PPC64)	:= $(NO_MINIMAL_TOC)
427e23b5fSChristophe Leroy
527e23b5fSChristophe Leroyobj-y				+= mmu_context.o tlb.o tlb_low.o
627e23b5fSChristophe Leroyobj-$(CONFIG_PPC_BOOK3E_64)  	+= tlb_low_64e.o book3e_pgtable.o
727e23b5fSChristophe Leroyobj-$(CONFIG_40x)		+= 40x.o
827e23b5fSChristophe Leroyobj-$(CONFIG_44x)		+= 44x.o
927e23b5fSChristophe Leroyobj-$(CONFIG_PPC_8xx)		+= 8xx.o
1027e23b5fSChristophe Leroyobj-$(CONFIG_PPC_FSL_BOOK3E)	+= fsl_booke.o
11*2b0e86ccSJason Yanobj-$(CONFIG_RANDOMIZE_BASE)	+= kaslr_booke.o
1227e23b5fSChristophe Leroyifdef CONFIG_HUGETLB_PAGE
133dea7332SChristophe Leroyobj-$(CONFIG_PPC_FSL_BOOK3E)	+= book3e_hugetlbpage.o
1427e23b5fSChristophe Leroyendif
1527e23b5fSChristophe Leroy
1627e23b5fSChristophe Leroy# Disable kcov instrumentation on sensitive code
1727e23b5fSChristophe Leroy# This is necessary for booting with kcov enabled on book3e machines
1827e23b5fSChristophe LeroyKCOV_INSTRUMENT_tlb.o := n
1927e23b5fSChristophe LeroyKCOV_INSTRUMENT_fsl_booke.o := n
20