blob: 985f59858234d98cf7a29df45d91edc0e6deb973 [file] [log] [blame]
Chris Metcalf867e3592010-05-28 23:09:12 -04001#
2# Makefile for TILE-specific library files..
3#
4
Chris Metcalf6c4d1122011-02-28 15:28:00 -05005lib-y = cacheflush.o checksum.o cpumask.o delay.o uaccess.o \
6 memmove.o memcpy_$(BITS).o memchr_$(BITS).o memset_$(BITS).o \
Chris Metcalf867e3592010-05-28 23:09:12 -04007 strchr_$(BITS).o strlen_$(BITS).o
8
Chris Metcalfc745a8a2010-08-13 08:52:19 -04009ifeq ($(CONFIG_TILEGX),y)
Chris Metcalfefb734d2012-03-29 14:05:04 -040010CFLAGS_REMOVE_memcpy_user_64.o = -fno-omit-frame-pointer
Chris Metcalfc745a8a2010-08-13 08:52:19 -040011lib-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