| Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 1 | # | 
 | 2 | # Makefile for the linux ppc-specific parts of the memory manager. | 
 | 3 | # | 
 | 4 |  | 
| Michael Ellerman | ba55bd7 | 2009-06-09 20:48:51 +0000 | [diff] [blame] | 5 | subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror | 
 | 6 |  | 
| Stephen Rothwell | 3a5f8c5 | 2005-10-11 19:40:20 +1000 | [diff] [blame] | 7 | ifeq ($(CONFIG_PPC64),y) | 
 | 8 | EXTRA_CFLAGS	+= -mno-minimal-toc | 
 | 9 | endif | 
 | 10 |  | 
| Benjamin Herrenschmidt | 9e5efaa | 2009-03-10 17:24:37 +0000 | [diff] [blame] | 11 | obj-y				:= fault.o mem.o pgtable.o gup.o \ | 
| Stephen Rothwell | 2578bfa | 2007-09-21 10:16:20 +1000 | [diff] [blame] | 12 | 				   init_$(CONFIG_WORD_SIZE).o \ | 
| Benjamin Herrenschmidt | 5e69661 | 2008-12-18 19:13:24 +0000 | [diff] [blame] | 13 | 				   pgtable_$(CONFIG_WORD_SIZE).o | 
| Benjamin Herrenschmidt | 2a4aca11 | 2008-12-18 19:13:42 +0000 | [diff] [blame] | 14 | obj-$(CONFIG_PPC_MMU_NOHASH)	+= mmu_context_nohash.o tlb_nohash.o \ | 
 | 15 | 				   tlb_nohash_low.o | 
| Benjamin Herrenschmidt | 2d27cfd | 2009-07-23 23:15:59 +0000 | [diff] [blame^] | 16 | obj-$(CONFIG_PPC_BOOK3E)	+= tlb_low_$(CONFIG_WORD_SIZE)e.o | 
| Benjamin Herrenschmidt | 9449168 | 2009-06-02 21:17:45 +0000 | [diff] [blame] | 17 | obj-$(CONFIG_PPC64)		+= mmap_64.o | 
 | 18 | hash64-$(CONFIG_PPC_NATIVE)	:= hash_native_64.o | 
 | 19 | obj-$(CONFIG_PPC_STD_MMU_64)	+= hash_utils_64.o \ | 
| Nick Piggin | ce0ad7f | 2008-07-30 15:23:13 +1000 | [diff] [blame] | 20 | 				   slb_low.o slb.o stab.o \ | 
| Benjamin Herrenschmidt | 9449168 | 2009-06-02 21:17:45 +0000 | [diff] [blame] | 21 | 				   mmap_64.o $(hash64-y) | 
| Stephen Rothwell | 2578bfa | 2007-09-21 10:16:20 +1000 | [diff] [blame] | 22 | obj-$(CONFIG_PPC_STD_MMU_32)	+= ppc_mmu_32.o | 
 | 23 | obj-$(CONFIG_PPC_STD_MMU)	+= hash_low_$(CONFIG_WORD_SIZE).o \ | 
| Benjamin Herrenschmidt | 5e69661 | 2008-12-18 19:13:24 +0000 | [diff] [blame] | 24 | 				   tlb_hash$(CONFIG_WORD_SIZE).o \ | 
 | 25 | 				   mmu_context_hash$(CONFIG_WORD_SIZE).o | 
| Josh Boyer | 15f6527 | 2007-08-20 07:27:07 -0500 | [diff] [blame] | 26 | obj-$(CONFIG_40x)		+= 40x_mmu.o | 
| Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 27 | obj-$(CONFIG_44x)		+= 44x_mmu.o | 
 | 28 | obj-$(CONFIG_FSL_BOOKE)		+= fsl_booke_mmu.o | 
| Paul Mackerras | ab1f9da | 2005-10-10 21:58:35 +1000 | [diff] [blame] | 29 | obj-$(CONFIG_NEED_MULTIPLE_NODES) += numa.o | 
| Benjamin Herrenschmidt | d0f13e3 | 2007-05-08 16:27:27 +1000 | [diff] [blame] | 30 | obj-$(CONFIG_PPC_MM_SLICES)	+= slice.o | 
| Paul Mackerras | ab1f9da | 2005-10-10 21:58:35 +1000 | [diff] [blame] | 31 | obj-$(CONFIG_HUGETLB_PAGE)	+= hugetlbpage.o | 
| Paul Mackerras | fa28237 | 2008-01-24 08:35:13 +1100 | [diff] [blame] | 32 | obj-$(CONFIG_PPC_SUBPAGE_PROT)	+= subpage-prot.o | 
| Benjamin Herrenschmidt | b16e776 | 2009-05-27 13:36:10 +1000 | [diff] [blame] | 33 | obj-$(CONFIG_NOT_COHERENT_CACHE) += dma-noncoherent.o | 
| Benjamin Herrenschmidt | 850f6ac | 2009-06-18 19:25:00 +0000 | [diff] [blame] | 34 | obj-$(CONFIG_HIGHMEM)		+= highmem.o |