blob: 20629ae95c50102f146190d968280edaf07a168d [file] [log] [blame]
Paul Mackerras14cf11a2005-09-26 16:04:21 +10001#
2# Makefile for the linux ppc-specific parts of the memory manager.
3#
4
Stephen Rothwell3a5f8c52005-10-11 19:40:20 +10005ifeq ($(CONFIG_PPC64),y)
6EXTRA_CFLAGS += -mno-minimal-toc
7endif
8
Stephen Rothwell2578bfa2007-09-21 10:16:20 +10009obj-y := fault.o mem.o lmb.o \
10 init_$(CONFIG_WORD_SIZE).o \
11 pgtable_$(CONFIG_WORD_SIZE).o \
12 mmu_context_$(CONFIG_WORD_SIZE).o
Arnd Bergmanne22ba7e2006-11-27 19:18:57 +010013hash-$(CONFIG_PPC_NATIVE) := hash_native_64.o
Stephen Rothwell2578bfa2007-09-21 10:16:20 +100014obj-$(CONFIG_PPC64) += hash_utils_64.o \
Benjamin Herrenschmidt3d5134e2007-06-04 15:15:36 +100015 slb_low.o slb.o stab.o mmap.o $(hash-y)
Stephen Rothwell2578bfa2007-09-21 10:16:20 +100016obj-$(CONFIG_PPC_STD_MMU_32) += ppc_mmu_32.o
17obj-$(CONFIG_PPC_STD_MMU) += hash_low_$(CONFIG_WORD_SIZE).o \
18 tlb_$(CONFIG_WORD_SIZE).o
Josh Boyer15f65272007-08-20 07:27:07 -050019obj-$(CONFIG_40x) += 40x_mmu.o
Paul Mackerras14cf11a2005-09-26 16:04:21 +100020obj-$(CONFIG_44x) += 44x_mmu.o
21obj-$(CONFIG_FSL_BOOKE) += fsl_booke_mmu.o
Paul Mackerrasab1f9da2005-10-10 21:58:35 +100022obj-$(CONFIG_NEED_MULTIPLE_NODES) += numa.o
Benjamin Herrenschmidtd0f13e32007-05-08 16:27:27 +100023obj-$(CONFIG_PPC_MM_SLICES) += slice.o
Paul Mackerrasab1f9da2005-10-10 21:58:35 +100024obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o