Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the Linux SuperH-specific parts of the memory manager. |
| 3 | # |
| 4 | |
| 5 | obj-y := init.o extable.o consistent.o |
| 6 | |
Paul Mundt | ac38e4d | 2007-07-31 18:52:12 +0900 | [diff] [blame^] | 7 | ifndef CONFIG_CACHE_OFF |
| 8 | obj-$(CONFIG_CPU_SH2) += cache-sh2.o |
| 9 | obj-$(CONFIG_CPU_SH3) += cache-sh3.o |
| 10 | obj-$(CONFIG_CPU_SH4) += cache-sh4.o |
| 11 | obj-$(CONFIG_SH7705_CACHE_32KB) += cache-sh7705.o |
| 12 | endif |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | |
Paul Mundt | 56c74c7 | 2007-08-01 16:26:21 +0900 | [diff] [blame] | 14 | mmu-y := tlb-nommu.o pg-nommu.o |
| 15 | mmu-$(CONFIG_CPU_SH3) += fault-nommu.o |
| 16 | mmu-$(CONFIG_CPU_SH4) += fault-nommu.o |
Paul Mundt | d7cdc9e | 2006-09-27 15:16:42 +0900 | [diff] [blame] | 17 | mmu-$(CONFIG_MMU) := fault.o clear_page.o copy_page.o tlb-flush.o \ |
| 18 | ioremap.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | |
Paul Mundt | ac38e4d | 2007-07-31 18:52:12 +0900 | [diff] [blame^] | 20 | obj-y += $(mmu-y) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | |
Paul Mundt | 15f57a2 | 2006-09-27 17:51:01 +0900 | [diff] [blame] | 22 | ifdef CONFIG_DEBUG_FS |
Paul Mundt | ac38e4d | 2007-07-31 18:52:12 +0900 | [diff] [blame^] | 23 | obj-$(CONFIG_CPU_SH4) += cache-debugfs.o |
Paul Mundt | 15f57a2 | 2006-09-27 17:51:01 +0900 | [diff] [blame] | 24 | endif |
| 25 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 26 | ifdef CONFIG_MMU |
Paul Mundt | ac38e4d | 2007-07-31 18:52:12 +0900 | [diff] [blame^] | 27 | obj-$(CONFIG_CPU_SH3) += tlb-sh3.o |
| 28 | obj-$(CONFIG_CPU_SH4) += tlb-sh4.o |
| 29 | ifndef CONFIG_CACHE_OFF |
| 30 | obj-$(CONFIG_CPU_SH4) += pg-sh4.o |
| 31 | obj-$(CONFIG_SH7705_CACHE_32KB) += pg-sh7705.o |
| 32 | endif |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 33 | endif |
| 34 | |
Paul Mundt | a1e2833 | 2007-06-11 15:56:31 +0900 | [diff] [blame] | 35 | obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o |
Paul Mundt | 0c7b1df | 2006-09-27 15:08:07 +0900 | [diff] [blame] | 36 | obj-$(CONFIG_32BIT) += pmb.o |
Paul Mundt | b241cb0 | 2007-06-06 17:52:19 +0900 | [diff] [blame] | 37 | obj-$(CONFIG_NUMA) += numa.o |