blob: 681abe0a45941a2c4f7f73f9cdc7393be24fc584 [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
Linus Torvalds1da177e2005-04-16 15:20:36 -070014
Sam Ravnborg27137e52008-11-16 20:08:45 -080015# Only used by sparc64
16obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
17
Sam Ravnborgc37ddd92008-11-16 20:08:19 -080018# Only used by sparc32
19obj-$(CONFIG_HIGHMEM) += highmem.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070020
21ifdef CONFIG_SMP
Sam Ravnborgc37ddd92008-11-16 20:08:19 -080022obj-$(CONFIG_SPARC32) += nosun4c.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070023else
Sam Ravnborgc37ddd92008-11-16 20:08:19 -080024obj-$(CONFIG_SPARC32) += sun4c.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070025endif