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) |
| 10 | lib-y += memcpy_user_64.o |
| 11 | else |
Chris Metcalf | 867e359 | 2010-05-28 23:09:12 -0400 | [diff] [blame] | 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 |