Merge branch 'next/cleanup-plat-s3c24xx' into next/cleanup-plat-s3c24xx-s5p
[firefly-linux-kernel-4.4.55.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 CFLAGS_REMOVE_memcpy_user_64.o = -fno-omit-frame-pointer
11 lib-y += memcpy_user_64.o
12 else
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