1# 2# Makefile for the linux ppc-specific parts of the memory manager. 3# 4 5subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror 6 7ifeq ($(CONFIG_PPC64),y) 8EXTRA_CFLAGS += -mno-minimal-toc 9endif 10 11obj-y := fault.o mem.o pgtable.o gup.o \ 12 init_$(CONFIG_WORD_SIZE).o \ 13 pgtable_$(CONFIG_WORD_SIZE).o 14obj-$(CONFIG_PPC_MMU_NOHASH) += mmu_context_nohash.o tlb_nohash.o \ 15 tlb_nohash_low.o 16obj-$(CONFIG_PPC64) += mmap_64.o 17hash64-$(CONFIG_PPC_NATIVE) := hash_native_64.o 18obj-$(CONFIG_PPC_STD_MMU_64) += hash_utils_64.o \ 19 slb_low.o slb.o stab.o \ 20 mmap_64.o $(hash64-y) 21obj-$(CONFIG_PPC_STD_MMU_32) += ppc_mmu_32.o 22obj-$(CONFIG_PPC_STD_MMU) += hash_low_$(CONFIG_WORD_SIZE).o \ 23 tlb_hash$(CONFIG_WORD_SIZE).o \ 24 mmu_context_hash$(CONFIG_WORD_SIZE).o 25obj-$(CONFIG_40x) += 40x_mmu.o 26obj-$(CONFIG_44x) += 44x_mmu.o 27obj-$(CONFIG_FSL_BOOKE) += fsl_booke_mmu.o 28obj-$(CONFIG_NEED_MULTIPLE_NODES) += numa.o 29obj-$(CONFIG_PPC_MM_SLICES) += slice.o 30obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o 31obj-$(CONFIG_PPC_SUBPAGE_PROT) += subpage-prot.o 32obj-$(CONFIG_NOT_COHERENT_CACHE) += dma-noncoherent.o 33obj-$(CONFIG_HIGHMEM) += highmem.o 34