Makefile (448cc2fb3a7b327823a9afd374808c37b8e6194f) Makefile (25ae981fafaa140a12e4c830992b4fe997071124)
1# SPDX-License-Identifier: GPL-2.0
2
3ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC)
4
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
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_FSL_BOOK3E) += fsl_book3e.o
11obj-$(CONFIG_RANDOMIZE_BASE) += kaslr_booke.o
12ifdef CONFIG_HUGETLB_PAGE
13obj-$(CONFIG_PPC_FSL_BOOK3E) += book3e_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_fsl_book3e.o := n
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_FSL_BOOK3E) += fsl_book3e.o
11obj-$(CONFIG_RANDOMIZE_BASE) += kaslr_booke.o
12ifdef CONFIG_HUGETLB_PAGE
13obj-$(CONFIG_PPC_FSL_BOOK3E) += book3e_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_fsl_book3e.o := n