Initial commit
[kernel/linux-3.0.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 uaccess.o \
6         memmove.o memcpy_$(BITS).o memchr_$(BITS).o memset_$(BITS).o \
7         strchr_$(BITS).o strlen_$(BITS).o
8
9 ifeq ($(CONFIG_TILEGX),y)
10 lib-y += memcpy_user_64.o
11 else
12 lib-y += atomic_32.o atomic_asm_32.o memcpy_tile64.o
13 endif
14
15 lib-$(CONFIG_SMP) += spinlock_$(BITS).o usercopy_$(BITS).o
16
17 obj-$(CONFIG_MODULES) += exports.o