Makefile (2edb16efc899f9c232e2d880930b855e4cf55df4) Makefile (471e475c69a1689e059b5e57e893a7da75d2831a)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the linux ppc-specific parts of the memory manager.
4#
5
6ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC)
7
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the linux ppc-specific parts of the memory manager.
4#
5
6ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC)
7
8KASAN_SANITIZE_ppc_mmu_32.o := n
9
10ifdef CONFIG_KASAN
11CFLAGS_ppc_mmu_32.o += -DDISABLE_BRANCH_PROFILING
12endif
13
14obj-y := fault.o mem.o pgtable.o mmap.o \
15 init_$(BITS).o pgtable_$(BITS).o \
16 pgtable-frag.o \
17 init-common.o mmu_context.o drmem.o
18obj-$(CONFIG_PPC_MMU_NOHASH) += nohash/
19obj-$(CONFIG_PPC_BOOK3S_32) += book3s32/
20obj-$(CONFIG_PPC_BOOK3S_64) += book3s64/
21obj-$(CONFIG_PPC_BOOK3S_64) += pgtable-frag.o
22obj-$(CONFIG_NEED_MULTIPLE_NODES) += numa.o
23obj-$(CONFIG_PPC_MM_SLICES) += slice.o
24obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
25obj-$(CONFIG_NOT_COHERENT_CACHE) += dma-noncoherent.o
26obj-$(CONFIG_HIGHMEM) += highmem.o
27obj-$(CONFIG_PPC_COPRO_BASE) += copro_fault.o
28obj-$(CONFIG_PPC_PTDUMP) += ptdump/
29obj-$(CONFIG_KASAN) += kasan/
8obj-y := fault.o mem.o pgtable.o mmap.o \
9 init_$(BITS).o pgtable_$(BITS).o \
10 pgtable-frag.o \
11 init-common.o mmu_context.o drmem.o
12obj-$(CONFIG_PPC_MMU_NOHASH) += nohash/
13obj-$(CONFIG_PPC_BOOK3S_32) += book3s32/
14obj-$(CONFIG_PPC_BOOK3S_64) += book3s64/
15obj-$(CONFIG_PPC_BOOK3S_64) += pgtable-frag.o
16obj-$(CONFIG_NEED_MULTIPLE_NODES) += numa.o
17obj-$(CONFIG_PPC_MM_SLICES) += slice.o
18obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
19obj-$(CONFIG_NOT_COHERENT_CACHE) += dma-noncoherent.o
20obj-$(CONFIG_HIGHMEM) += highmem.o
21obj-$(CONFIG_PPC_COPRO_BASE) += copro_fault.o
22obj-$(CONFIG_PPC_PTDUMP) += ptdump/
23obj-$(CONFIG_KASAN) += kasan/