Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # Makefile for the linux Sparc-specific parts of the memory manager. |
| 2 | # |
| 3 | |
Sam Ravnborg | c37ddd9 | 2008-11-16 20:08:19 -0800 | [diff] [blame] | 4 | asflags-y := -ansi |
| 5 | ccflags-y := -Werror |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | |
Sam Ravnborg | 27137e5 | 2008-11-16 20:08:45 -0800 | [diff] [blame] | 7 | obj-$(CONFIG_SPARC64) += ultra.o tlb.o tsb.o |
| 8 | obj-y += fault_$(BITS).o |
Sam Ravnborg | c37ddd9 | 2008-11-16 20:08:19 -0800 | [diff] [blame] | 9 | obj-y += init_$(BITS).o |
| 10 | obj-$(CONFIG_SPARC32) += loadmmu.o |
| 11 | obj-y += generic_$(BITS).o |
| 12 | obj-$(CONFIG_SPARC32) += extable.o btfixup.o srmmu.o iommu.o io-unit.o |
| 13 | obj-$(CONFIG_SPARC32) += hypersparc.o viking.o tsunami.o swift.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | |
Sam Ravnborg | 27137e5 | 2008-11-16 20:08:45 -0800 | [diff] [blame] | 15 | # Only used by sparc64 |
| 16 | obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o |
| 17 | |
Sam Ravnborg | c37ddd9 | 2008-11-16 20:08:19 -0800 | [diff] [blame] | 18 | # Only used by sparc32 |
| 19 | obj-$(CONFIG_HIGHMEM) += highmem.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | |
| 21 | ifdef CONFIG_SMP |
Sam Ravnborg | c37ddd9 | 2008-11-16 20:08:19 -0800 | [diff] [blame] | 22 | obj-$(CONFIG_SPARC32) += nosun4c.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 23 | else |
Sam Ravnborg | c37ddd9 | 2008-11-16 20:08:19 -0800 | [diff] [blame] | 24 | obj-$(CONFIG_SPARC32) += sun4c.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 25 | endif |