aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/mm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/mm/Makefile')
-rw-r--r--arch/sparc/mm/Makefile24
1 files changed, 16 insertions, 8 deletions
diff --git a/arch/sparc/mm/Makefile b/arch/sparc/mm/Makefile
index ea88955d97ff..681abe0a4594 100644
--- a/arch/sparc/mm/Makefile
+++ b/arch/sparc/mm/Makefile
@@ -1,17 +1,25 @@
1# Makefile for the linux Sparc-specific parts of the memory manager. 1# Makefile for the linux Sparc-specific parts of the memory manager.
2# 2#
3 3
4EXTRA_AFLAGS := -ansi 4asflags-y := -ansi
5ccflags-y := -Werror
5 6
6obj-y := fault.o init.o loadmmu.o generic.o extable.o btfixup.o \ 7obj-$(CONFIG_SPARC64) += ultra.o tlb.o tsb.o
7 srmmu.o iommu.o io-unit.o hypersparc.o viking.o tsunami.o swift.o 8obj-y += fault_$(BITS).o
9obj-y += init_$(BITS).o
10obj-$(CONFIG_SPARC32) += loadmmu.o
11obj-y += generic_$(BITS).o
12obj-$(CONFIG_SPARC32) += extable.o btfixup.o srmmu.o iommu.o io-unit.o
13obj-$(CONFIG_SPARC32) += hypersparc.o viking.o tsunami.o swift.o
8 14
9ifdef CONFIG_HIGHMEM 15# Only used by sparc64
10obj-y += highmem.o 16obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
11endif 17
18# Only used by sparc32
19obj-$(CONFIG_HIGHMEM) += highmem.o
12 20
13ifdef CONFIG_SMP 21ifdef CONFIG_SMP
14obj-y += nosun4c.o 22obj-$(CONFIG_SPARC32) += nosun4c.o
15else 23else
16obj-y += sun4c.o 24obj-$(CONFIG_SPARC32) += sun4c.o
17endif 25endif