Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6
[pandora-kernel.git] / arch / tile / lib / Makefile
1 #
2 # Makefile for TILE-specific library files..
3 #
4
5 lib-y = cacheflush.o checksum.o cpumask.o delay.o \
6         mb_incoherent.o uaccess.o memmove.o \
7         memcpy_$(BITS).o memchr_$(BITS).o memset_$(BITS).o \
8         strchr_$(BITS).o strlen_$(BITS).o
9
10 ifeq ($(CONFIG_TILEGX),y)
11 lib-y += memcpy_user_64.o
12 else
13 lib-y += atomic_32.o atomic_asm_32.o memcpy_tile64.o
14 endif
15
16 lib-$(CONFIG_SMP) += spinlock_$(BITS).o usercopy_$(BITS).o
17
18 obj-$(CONFIG_MODULES) += exports.o