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 | |
Stephen Rothwell | 3a5f8c5 | 2005-10-11 19:40:20 +1000 | [diff] [blame] | 5 | ifeq ($(CONFIG_PPC64),y) |
| 6 | EXTRA_CFLAGS += -mno-minimal-toc |
| 7 | endif |
| 8 | |
Stephen Rothwell | 2578bfa | 2007-09-21 10:16:20 +1000 | [diff] [blame] | 9 | obj-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 Bergmann | e22ba7e | 2006-11-27 19:18:57 +0100 | [diff] [blame] | 13 | hash-$(CONFIG_PPC_NATIVE) := hash_native_64.o |
Stephen Rothwell | 2578bfa | 2007-09-21 10:16:20 +1000 | [diff] [blame] | 14 | obj-$(CONFIG_PPC64) += hash_utils_64.o \ |
Benjamin Herrenschmidt | 3d5134e | 2007-06-04 15:15:36 +1000 | [diff] [blame] | 15 | slb_low.o slb.o stab.o mmap.o $(hash-y) |
Stephen Rothwell | 2578bfa | 2007-09-21 10:16:20 +1000 | [diff] [blame] | 16 | obj-$(CONFIG_PPC_STD_MMU_32) += ppc_mmu_32.o |
| 17 | obj-$(CONFIG_PPC_STD_MMU) += hash_low_$(CONFIG_WORD_SIZE).o \ |
| 18 | tlb_$(CONFIG_WORD_SIZE).o |
Josh Boyer | 15f6527 | 2007-08-20 07:27:07 -0500 | [diff] [blame] | 19 | obj-$(CONFIG_40x) += 40x_mmu.o |
Paul Mackerras | 14cf11a | 2005-09-26 16:04:21 +1000 | [diff] [blame] | 20 | obj-$(CONFIG_44x) += 44x_mmu.o |
| 21 | obj-$(CONFIG_FSL_BOOKE) += fsl_booke_mmu.o |
Paul Mackerras | ab1f9da | 2005-10-10 21:58:35 +1000 | [diff] [blame] | 22 | obj-$(CONFIG_NEED_MULTIPLE_NODES) += numa.o |
Benjamin Herrenschmidt | d0f13e3 | 2007-05-08 16:27:27 +1000 | [diff] [blame] | 23 | obj-$(CONFIG_PPC_MM_SLICES) += slice.o |
Paul Mackerras | ab1f9da | 2005-10-10 21:58:35 +1000 | [diff] [blame] | 24 | obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o |