xref: /linux/arch/powerpc/mm/nohash/Makefile (revision 25ae981fafaa140a12e4c830992b4fe997071124)
127e23b5fSChristophe Leroy# SPDX-License-Identifier: GPL-2.0
227e23b5fSChristophe Leroy
327e23b5fSChristophe Leroyccflags-$(CONFIG_PPC64)	:= $(NO_MINIMAL_TOC)
427e23b5fSChristophe Leroy
5*25ae981fSChristophe Leroyobj-y				+= mmu_context.o tlb.o tlb_low.o kup.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
103a75fd70SChristophe Leroyobj-$(CONFIG_PPC_FSL_BOOK3E)	+= fsl_book3e.o
112b0e86ccSJason 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
193a75fd70SChristophe LeroyKCOV_INSTRUMENT_fsl_book3e.o := n
20