blob: 953cc4a1cde56061bccdc347ff0e347930eb052b [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
Kumar Gala0186f472008-11-19 12:50:04 +00009obj-y := fault.o mem.o pgtable.o \
Stephen Rothwell2578bfa2007-09-21 10:16:20 +100010 init_$(CONFIG_WORD_SIZE).o \
Benjamin Herrenschmidt5e696612008-12-18 19:13:24 +000011 pgtable_$(CONFIG_WORD_SIZE).o
Benjamin Herrenschmidt2a4aca112008-12-18 19:13:42 +000012obj-$(CONFIG_PPC_MMU_NOHASH) += mmu_context_nohash.o tlb_nohash.o \
13 tlb_nohash_low.o
Arnd Bergmanne22ba7e2006-11-27 19:18:57 +010014hash-$(CONFIG_PPC_NATIVE) := hash_native_64.o
Stephen Rothwell2578bfa2007-09-21 10:16:20 +100015obj-$(CONFIG_PPC64) += hash_utils_64.o \
Nick Piggince0ad7f2008-07-30 15:23:13 +100016 slb_low.o slb.o stab.o \
17 gup.o mmap.o $(hash-y)
Stephen Rothwell2578bfa2007-09-21 10:16:20 +100018obj-$(CONFIG_PPC_STD_MMU_32) += ppc_mmu_32.o
19obj-$(CONFIG_PPC_STD_MMU) += hash_low_$(CONFIG_WORD_SIZE).o \
Benjamin Herrenschmidt5e696612008-12-18 19:13:24 +000020 tlb_hash$(CONFIG_WORD_SIZE).o \
21 mmu_context_hash$(CONFIG_WORD_SIZE).o
Josh Boyer15f65272007-08-20 07:27:07 -050022obj-$(CONFIG_40x) += 40x_mmu.o
Paul Mackerras14cf11a2005-09-26 16:04:21 +100023obj-$(CONFIG_44x) += 44x_mmu.o
24obj-$(CONFIG_FSL_BOOKE) += fsl_booke_mmu.o
Paul Mackerrasab1f9da2005-10-10 21:58:35 +100025obj-$(CONFIG_NEED_MULTIPLE_NODES) += numa.o
Benjamin Herrenschmidtd0f13e32007-05-08 16:27:27 +100026obj-$(CONFIG_PPC_MM_SLICES) += slice.o
Paul Mackerrasab1f9da2005-10-10 21:58:35 +100027obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
Paul Mackerrasfa282372008-01-24 08:35:13 +110028obj-$(CONFIG_PPC_SUBPAGE_PROT) += subpage-prot.o