blob: 5e147986400d5ea9dbd0b2a303770a5b3820e4fa [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Paul Mackerras14cf11a2005-09-26 16:04:21 +10002#
3# Makefile for the linux ppc-specific parts of the memory manager.
4#
5
Anton Blanchard1fbe9cf2012-11-26 17:41:08 +00006ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC)
Stephen Rothwell3a5f8c52005-10-11 19:40:20 +10007
Aneesh Kumar K.Vb30e7592014-11-05 21:57:41 +05308obj-y := fault.o mem.o pgtable.o mmap.o \
Christophe Leroy9b081e12016-12-07 08:47:24 +01009 init_$(BITS).o pgtable_$(BITS).o \
Christophe Leroyf381d572019-08-20 14:07:17 +000010 pgtable-frag.o ioremap.o ioremap_$(BITS).o \
Nathan Fontenot6c6ea532017-12-01 10:47:08 -060011 init-common.o mmu_context.o drmem.o
Christophe Leroy27e23b52019-03-29 10:00:02 +000012obj-$(CONFIG_PPC_MMU_NOHASH) += nohash/
Christophe Leroy17312f22019-03-29 10:00:01 +000013obj-$(CONFIG_PPC_BOOK3S_32) += book3s32/
Christophe Leroy47d99942019-03-29 10:00:00 +000014obj-$(CONFIG_PPC_BOOK3S_64) += book3s64/
Paul Mackerrasab1f9da2005-10-10 21:58:35 +100015obj-$(CONFIG_NEED_MULTIPLE_NODES) += numa.o
Benjamin Herrenschmidtd0f13e32007-05-08 16:27:27 +100016obj-$(CONFIG_PPC_MM_SLICES) += slice.o
Christophe Leroyb7dcf962019-04-26 05:59:42 +000017obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
Benjamin Herrenschmidtb16e7762009-05-27 13:36:10 +100018obj-$(CONFIG_NOT_COHERENT_CACHE) += dma-noncoherent.o
Benjamin Herrenschmidt850f6ac32009-06-18 19:25:00 +000019obj-$(CONFIG_HIGHMEM) += highmem.o
Ian Munsiee83d0162014-10-08 19:54:50 +110020obj-$(CONFIG_PPC_COPRO_BASE) += copro_fault.o
Christophe Leroye66c3202019-02-18 12:28:36 +000021obj-$(CONFIG_PPC_PTDUMP) += ptdump/
Christophe Leroy2edb16e2019-04-26 16:23:34 +000022obj-$(CONFIG_KASAN) += kasan/