Chris Metcalf | 867e359 | 2010-05-28 23:09:12 -0400 | [diff] [blame] | 1 | # |
| 2 | # Makefile for TILE-specific library files.. |
| 3 | # |
| 4 | |
Chris Metcalf | 6c4d112 | 2011-02-28 15:28:00 -0500 | [diff] [blame] | 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 \ |
Chris Metcalf | 867e359 | 2010-05-28 23:09:12 -0400 | [diff] [blame] | 7 | strchr_$(BITS).o strlen_$(BITS).o |
| 8 | |
Chris Metcalf | c745a8a | 2010-08-13 08:52:19 -0400 | [diff] [blame] | 9 | ifeq ($(CONFIG_TILEGX),y) |
Chris Metcalf | efb734d | 2012-03-29 14:05:04 -0400 | [diff] [blame^] | 10 | CFLAGS_REMOVE_memcpy_user_64.o = -fno-omit-frame-pointer |
Chris Metcalf | c745a8a | 2010-08-13 08:52:19 -0400 | [diff] [blame] | 11 | lib-y += memcpy_user_64.o |
| 12 | else |
Chris Metcalf | 867e359 | 2010-05-28 23:09:12 -0400 | [diff] [blame] | 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 |