xref: /openbmc/linux/arch/powerpc/mm/nohash/Makefile (revision cc8c418b)
1# SPDX-License-Identifier: GPL-2.0
2
3ccflags-$(CONFIG_PPC64)	:= $(NO_MINIMAL_TOC)
4
5obj-y				+= mmu_context.o tlb.o tlb_low.o kup.o
6obj-$(CONFIG_PPC_BOOK3E_64)  	+= tlb_low_64e.o book3e_pgtable.o
7obj-$(CONFIG_40x)		+= 40x.o
8obj-$(CONFIG_44x)		+= 44x.o
9obj-$(CONFIG_PPC_8xx)		+= 8xx.o
10obj-$(CONFIG_PPC_E500)		+= e500.o
11obj-$(CONFIG_RANDOMIZE_BASE)	+= kaslr_booke.o
12ifdef CONFIG_HUGETLB_PAGE
13obj-$(CONFIG_PPC_E500)	+= e500_hugetlbpage.o
14endif
15
16# Disable kcov instrumentation on sensitive code
17# This is necessary for booting with kcov enabled on book3e machines
18KCOV_INSTRUMENT_tlb.o := n
19KCOV_INSTRUMENT_e500.o := n
20