Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c37ddd93 authored by Sam Ravnborg's avatar Sam Ravnborg Committed by David S. Miller
Browse files

sparc: prepare mm/ for unification



- rename files where sparc64 has similar files to _32.c
- Restructure Makefile
- Sneak in -Werror as we have for sparc64

Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7c979c49
Loading
Loading
Loading
Loading
+12 −8
Original line number Diff line number Diff line
# Makefile for the linux Sparc-specific parts of the memory manager.
#

EXTRA_AFLAGS := -ansi
asflags-y := -ansi
ccflags-y := -Werror

obj-y	:= fault.o init.o loadmmu.o generic.o extable.o btfixup.o \
	    srmmu.o iommu.o io-unit.o hypersparc.o viking.o tsunami.o swift.o
obj-y                   := fault_$(BITS).o
obj-y                   += init_$(BITS).o
obj-$(CONFIG_SPARC32)   += loadmmu.o
obj-y                   += generic_$(BITS).o
obj-$(CONFIG_SPARC32)   += extable.o btfixup.o srmmu.o iommu.o io-unit.o
obj-$(CONFIG_SPARC32)   += hypersparc.o viking.o tsunami.o swift.o

ifdef CONFIG_HIGHMEM
obj-y	+= highmem.o
endif
# Only used by sparc32
obj-$(CONFIG_HIGHMEM)   += highmem.o

ifdef CONFIG_SMP
obj-y   += nosun4c.o
obj-$(CONFIG_SPARC32) += nosun4c.o
else
obj-y   += sun4c.o
obj-$(CONFIG_SPARC32) += sun4c.o
endif
+0 −0

File moved.

+0 −0

File moved.

+0 −0

File moved.