Makefile 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. #
  2. # Makefile for the linux ppc-specific parts of the memory manager.
  3. #
  4. subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
  5. ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC)
  6. obj-y := fault.o mem.o pgtable.o mmap.o \
  7. init_$(CONFIG_WORD_SIZE).o \
  8. pgtable_$(CONFIG_WORD_SIZE).o
  9. obj-$(CONFIG_PPC_MMU_NOHASH) += mmu_context_nohash.o tlb_nohash.o \
  10. tlb_nohash_low.o
  11. obj-$(CONFIG_PPC_BOOK3E) += tlb_low_$(CONFIG_WORD_SIZE)e.o
  12. hash64-$(CONFIG_PPC_NATIVE) := hash_native_64.o
  13. obj-$(CONFIG_PPC_STD_MMU_64) += hash_utils_64.o slb_low.o slb.o $(hash64-y)
  14. obj-$(CONFIG_PPC_STD_MMU_32) += ppc_mmu_32.o
  15. obj-$(CONFIG_PPC_STD_MMU) += hash_low_$(CONFIG_WORD_SIZE).o \
  16. tlb_hash$(CONFIG_WORD_SIZE).o \
  17. mmu_context_hash$(CONFIG_WORD_SIZE).o
  18. obj-$(CONFIG_PPC_ICSWX) += icswx.o
  19. obj-$(CONFIG_PPC_ICSWX_PID) += icswx_pid.o
  20. obj-$(CONFIG_40x) += 40x_mmu.o
  21. obj-$(CONFIG_44x) += 44x_mmu.o
  22. obj-$(CONFIG_PPC_FSL_BOOK3E) += fsl_booke_mmu.o
  23. obj-$(CONFIG_NEED_MULTIPLE_NODES) += numa.o
  24. obj-$(CONFIG_PPC_SPLPAR) += vphn.o
  25. obj-$(CONFIG_PPC_MM_SLICES) += slice.o
  26. obj-y += hugetlbpage.o
  27. ifeq ($(CONFIG_HUGETLB_PAGE),y)
  28. obj-$(CONFIG_PPC_STD_MMU_64) += hugetlbpage-hash64.o
  29. obj-$(CONFIG_PPC_BOOK3E_MMU) += hugetlbpage-book3e.o
  30. endif
  31. obj-$(CONFIG_TRANSPARENT_HUGEPAGE) += hugepage-hash64.o
  32. obj-$(CONFIG_PPC_SUBPAGE_PROT) += subpage-prot.o
  33. obj-$(CONFIG_NOT_COHERENT_CACHE) += dma-noncoherent.o
  34. obj-$(CONFIG_HIGHMEM) += highmem.o
  35. obj-$(CONFIG_PPC_COPRO_BASE) += copro_fault.o
  36. obj-$(CONFIG_SPAPR_TCE_IOMMU) += mmu_context_iommu.o