Merge branch 'for-2.6.28' of git://linux-nfs.org/~bfields/linux
[linux-2.6-block.git] / arch / sh / mm / Makefile_32
CommitLineData
83ce3ac1
PM
1#
2# Makefile for the Linux SuperH-specific parts of the memory manager.
3#
4
185aed75 5obj-y := init.o extable_32.o consistent.o mmap.o
83ce3ac1
PM
6
7ifndef CONFIG_CACHE_OFF
cce2d453
YS
8cache-$(CONFIG_CPU_SH2) := cache-sh2.o
9cache-$(CONFIG_CPU_SH2A) := cache-sh2a.o
10cache-$(CONFIG_CPU_SH3) := cache-sh3.o
11cache-$(CONFIG_CPU_SH4) := cache-sh4.o
12cache-$(CONFIG_SH7705_CACHE_32KB) += cache-sh7705.o
83ce3ac1
PM
13endif
14
cce2d453
YS
15obj-y += $(cache-y)
16
83ce3ac1 17mmu-y := tlb-nommu.o pg-nommu.o
9895f942 18mmu-$(CONFIG_MMU) := fault_32.o tlbflush_32.o ioremap_32.o
83ce3ac1
PM
19
20obj-y += $(mmu-y)
21
22ifdef CONFIG_DEBUG_FS
23obj-$(CONFIG_CPU_SH4) += cache-debugfs.o
24endif
25
26ifdef CONFIG_MMU
27obj-$(CONFIG_CPU_SH3) += tlb-sh3.o
28obj-$(CONFIG_CPU_SH4) += tlb-sh4.o
29ifndef CONFIG_CACHE_OFF
30obj-$(CONFIG_CPU_SH4) += pg-sh4.o
31obj-$(CONFIG_SH7705_CACHE_32KB) += pg-sh7705.o
32endif
33endif
34
35obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
36obj-$(CONFIG_PMB) += pmb.o
37obj-$(CONFIG_NUMA) += numa.o
38
39EXTRA_CFLAGS += -Werror