Makefile 855 字节
Newer Older
1 2 3 4
#
# Makefile for the linux ppc-specific parts of the memory manager.
#

5 6 7 8
ifeq ($(CONFIG_PPC64),y)
EXTRA_CFLAGS	+= -mno-minimal-toc
endif

9
obj-y				:= fault.o mem.o \
10 11 12
				   init_$(CONFIG_WORD_SIZE).o \
				   pgtable_$(CONFIG_WORD_SIZE).o \
				   mmu_context_$(CONFIG_WORD_SIZE).o
13
hash-$(CONFIG_PPC_NATIVE)	:= hash_native_64.o
14
obj-$(CONFIG_PPC64)		+= hash_utils_64.o \
15 16
				   slb_low.o slb.o stab.o \
				   gup.o mmap.o $(hash-y)
17 18 19
obj-$(CONFIG_PPC_STD_MMU_32)	+= ppc_mmu_32.o
obj-$(CONFIG_PPC_STD_MMU)	+= hash_low_$(CONFIG_WORD_SIZE).o \
				   tlb_$(CONFIG_WORD_SIZE).o
J
Josh Boyer 已提交
20
obj-$(CONFIG_40x)		+= 40x_mmu.o
21 22
obj-$(CONFIG_44x)		+= 44x_mmu.o
obj-$(CONFIG_FSL_BOOKE)		+= fsl_booke_mmu.o
23
obj-$(CONFIG_NEED_MULTIPLE_NODES) += numa.o
24
obj-$(CONFIG_PPC_MM_SLICES)	+= slice.o
25
obj-$(CONFIG_HUGETLB_PAGE)	+= hugetlbpage.o
26
obj-$(CONFIG_PPC_SUBPAGE_PROT)	+= subpage-prot.o