blob: 746dc81ed3c4fa3110386852c34b5a8597c082dd [file] [log] [blame]
Chris Metcalf867e3592010-05-28 23:09:12 -04001#
2# Makefile for TILE-specific library files..
3#
4
Chris Metcalfc78095b2010-06-25 17:03:27 -04005lib-y = cacheflush.o checksum.o cpumask.o delay.o \
Chris Metcalf867e3592010-05-28 23:09:12 -04006 mb_incoherent.o uaccess.o \
7 memcpy_$(BITS).o memchr_$(BITS).o memmove_$(BITS).o memset_$(BITS).o \
8 strchr_$(BITS).o strlen_$(BITS).o
9
Chris Metcalfc745a8a2010-08-13 08:52:19 -040010ifeq ($(CONFIG_TILEGX),y)
11lib-y += memcpy_user_64.o
12else
Chris Metcalf867e3592010-05-28 23:09:12 -040013lib-y += atomic_32.o atomic_asm_32.o memcpy_tile64.o
14endif
15
16lib-$(CONFIG_SMP) += spinlock_$(BITS).o usercopy_$(BITS).o
17
18obj-$(CONFIG_MODULES) += exports.o