Makefile 873 B

123456789101112131415161718192021222324252627282930313233
  1. #
  2. # Makefile for the Linux SuperH-specific parts of the memory manager.
  3. #
  4. obj-y := init.o extable.o consistent.o
  5. cache-$(CONFIG_CPU_SH2) := cache-sh2.o
  6. cache-$(CONFIG_CPU_SH3) := cache-sh3.o
  7. cache-$(CONFIG_CPU_SH4) := cache-sh4.o pg-sh4.o
  8. cache-$(CONFIG_CACHE_OFF) :=
  9. mmu-y := tlb-nommu.o pg-nommu.o
  10. mmu-$(CONFIG_CPU_SH3) += fault-nommu.o
  11. mmu-$(CONFIG_CPU_SH4) += fault-nommu.o
  12. mmu-$(CONFIG_MMU) := fault.o clear_page.o copy_page.o tlb-flush.o \
  13. ioremap.o
  14. obj-y += $(cache-y) $(mmu-y)
  15. ifdef CONFIG_DEBUG_FS
  16. obj-$(CONFIG_CPU_SH4) += cache-debugfs.o
  17. endif
  18. ifdef CONFIG_MMU
  19. obj-$(CONFIG_CPU_SH3) += tlb-sh3.o
  20. obj-$(CONFIG_CPU_SH4) += tlb-sh4.o
  21. obj-$(CONFIG_SH7705_CACHE_32KB) += pg-sh7705.o
  22. endif
  23. obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
  24. obj-$(CONFIG_SH7705_CACHE_32KB) += cache-sh7705.o
  25. obj-$(CONFIG_32BIT) += pmb.o
  26. obj-$(CONFIG_NUMA) += numa.o