Commit 18269c0f authored by Sam Ravnborg's avatar Sam Ravnborg Committed by David S. Miller

sparc: prepare lib/ for unification

Identical named files renamed to <name>_32.S
Refactored Makefile to prepare for unification.

Linking order was altered slightly - but this is a lib.a file so
it should not matter.
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5de18cde
# Makefile for Sparc library files.. # Makefile for Sparc library files..
# #
EXTRA_AFLAGS := -ansi -DST_DIV0=0x02 asflags-y := -ansi -DST_DIV0=0x02
ccflags-y := -Werror
lib-y := mul.o rem.o sdiv.o udiv.o umul.o urem.o ashrdi3.o memcpy.o memset.o \ lib-$(CONFIG_SPARC32) += mul.o rem.o sdiv.o udiv.o umul.o urem.o ashrdi3.o
strlen.o checksum.o blockops.o memscan.o memcmp.o strncmp.o \ lib-$(CONFIG_SPARC32) += memcpy.o memset.o
strncpy_from_user.o divdi3.o udivdi3.o strlen_user.o \ lib-y += strlen_$(BITS).o
copy_user.o locks.o atomic.o \ lib-y += checksum_$(BITS).o
lshrdi3.o ashldi3.o rwsem.o muldi3.o bitext.o \ lib-$(CONFIG_SPARC32) += blockops.o
cmpdi2.o lib-y += memscan_$(BITS).o memcmp_$(BITS).o strncmp_$(BITS).o
lib-y += strncpy_from_user_$(BITS).o strlen_user_$(BITS).o
lib-$(CONFIG_SPARC32) += divdi3.o udivdi3.o
lib-$(CONFIG_SPARC32) += copy_user.o locks.o
lib-y += atomic_$(BITS).o
lib-$(CONFIG_SPARC32) += lshrdi3.o ashldi3.o
lib-y += rwsem_$(BITS).o
lib-$(CONFIG_SPARC32) += muldi3.o bitext.o cmpdi2.o
obj-y += iomap.o atomic32.o obj-y += iomap.o
obj-$(CONFIG_SPARC32) += atomic32.o
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment