blob: 79836a7dd00c3ba78c446fd43a73edc9d9bd60ed [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001# Makefile for the linux Sparc-specific parts of the memory manager.
2#
3
Sam Ravnborgc37ddd92008-11-16 20:08:19 -08004asflags-y := -ansi
5ccflags-y := -Werror
Linus Torvalds1da177e2005-04-16 15:20:36 -07006
Sam Ravnborg27137e52008-11-16 20:08:45 -08007obj-$(CONFIG_SPARC64) += ultra.o tlb.o tsb.o
8obj-y += fault_$(BITS).o
Sam Ravnborgc37ddd92008-11-16 20:08:19 -08009obj-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
Konrad Eisele0fd7ef12009-08-17 00:13:31 +000014obj-$(CONFIG_SPARC_LEON)+= leon_mm.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070015
Sam Ravnborg27137e52008-11-16 20:08:45 -080016# Only used by sparc64
17obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
18
Sam Ravnborgc37ddd92008-11-16 20:08:19 -080019# Only used by sparc32
20obj-$(CONFIG_HIGHMEM) += highmem.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070021
22ifdef CONFIG_SMP
Sam Ravnborgc37ddd92008-11-16 20:08:19 -080023obj-$(CONFIG_SPARC32) += nosun4c.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070024else
Sam Ravnborgc37ddd92008-11-16 20:08:19 -080025obj-$(CONFIG_SPARC32) += sun4c.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070026endif