Linux-2.6.12-rc2
[linux-2.6] / arch / arm / lib / Makefile
1 #
2 # linux/arch/arm/lib/Makefile
3 #
4 # Copyright (C) 1995-2000 Russell King
5 #
6
7 lib-y           := backtrace.o changebit.o csumipv6.o csumpartial.o   \
8                    csumpartialcopy.o csumpartialcopyuser.o clearbit.o \
9                    copy_page.o delay.o findbit.o memchr.o memcpy.o    \
10                    memset.o memzero.o setbit.o strncpy_from_user.o    \
11                    strnlen_user.o strchr.o strrchr.o testchangebit.o  \
12                    testclearbit.o testsetbit.o uaccess.o getuser.o    \
13                    putuser.o ashldi3.o ashrdi3.o lshrdi3.o muldi3.o   \
14                    ucmpdi2.o udivdi3.o lib1funcs.o div64.o            \
15                    io-readsb.o io-writesb.o io-readsl.o io-writesl.o
16
17 ifeq ($(CONFIG_CPU_32v3),y)
18   lib-y += io-readsw-armv3.o io-writesw-armv3.o
19 else
20   lib-y += io-readsw-armv4.o io-writesw-armv4.o
21 endif
22
23 lib-$(CONFIG_ARCH_RPC)          += ecard.o io-acorn.o floppydma.o
24 lib-$(CONFIG_ARCH_CLPS7500)     += io-acorn.o
25 lib-$(CONFIG_ARCH_L7200)        += io-acorn.o
26 lib-$(CONFIG_ARCH_SHARK)        += io-shark.o
27
28 $(obj)/csumpartialcopy.o:       $(obj)/csumpartialcopygeneric.S
29 $(obj)/csumpartialcopyuser.o:   $(obj)/csumpartialcopygeneric.S