blob: 5e147986400d5ea9dbd0b2a303770a5b3820e4fa [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the linux ppc-specific parts of the memory manager.
4#
5
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00006ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC)
7
8obj-y := fault.o mem.o pgtable.o mmap.o \
9 init_$(BITS).o pgtable_$(BITS).o \
David Brazdil0f672f62019-12-10 10:32:29 +000010 pgtable-frag.o ioremap.o ioremap_$(BITS).o \
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000011 init-common.o mmu_context.o drmem.o
David Brazdil0f672f62019-12-10 10:32:29 +000012obj-$(CONFIG_PPC_MMU_NOHASH) += nohash/
13obj-$(CONFIG_PPC_BOOK3S_32) += book3s32/
14obj-$(CONFIG_PPC_BOOK3S_64) += book3s64/
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000015obj-$(CONFIG_NEED_MULTIPLE_NODES) += numa.o
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000016obj-$(CONFIG_PPC_MM_SLICES) += slice.o
David Brazdil0f672f62019-12-10 10:32:29 +000017obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000018obj-$(CONFIG_NOT_COHERENT_CACHE) += dma-noncoherent.o
19obj-$(CONFIG_HIGHMEM) += highmem.o
20obj-$(CONFIG_PPC_COPRO_BASE) += copro_fault.o
David Brazdil0f672f62019-12-10 10:32:29 +000021obj-$(CONFIG_PPC_PTDUMP) += ptdump/
22obj-$(CONFIG_KASAN) += kasan/