diff options
Diffstat (limited to 'arch/sparc/mm/Makefile')
-rw-r--r-- | arch/sparc/mm/Makefile | 24 |
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 | ||
4 | EXTRA_AFLAGS := -ansi | 4 | asflags-y := -ansi |
5 | ccflags-y := -Werror | ||
5 | 6 | ||
6 | obj-y := fault.o init.o loadmmu.o generic.o extable.o btfixup.o \ | 7 | obj-$(CONFIG_SPARC64) += ultra.o tlb.o tsb.o |
7 | srmmu.o iommu.o io-unit.o hypersparc.o viking.o tsunami.o swift.o | 8 | obj-y += fault_$(BITS).o |
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 | ||
8 | 14 | ||
9 | ifdef CONFIG_HIGHMEM | 15 | # Only used by sparc64 |
10 | obj-y += highmem.o | 16 | obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o |
11 | endif | 17 | |
18 | # Only used by sparc32 | ||
19 | obj-$(CONFIG_HIGHMEM) += highmem.o | ||
12 | 20 | ||
13 | ifdef CONFIG_SMP | 21 | ifdef CONFIG_SMP |
14 | obj-y += nosun4c.o | 22 | obj-$(CONFIG_SPARC32) += nosun4c.o |
15 | else | 23 | else |
16 | obj-y += sun4c.o | 24 | obj-$(CONFIG_SPARC32) += sun4c.o |
17 | endif | 25 | endif |