Linux 4.15.10
[linux/fpc-iii.git] / arch / microblaze / lib / Makefile
blob9fe7ab688ca5053103027ad053841db8a9df54de
1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile
6 ifdef CONFIG_FUNCTION_TRACER
7 CFLAGS_REMOVE_ashldi3.o = -pg
8 CFLAGS_REMOVE_ashrdi3.o = -pg
9 CFLAGS_REMOVE_lshrdi3.o = -pg
10 endif
12 lib-y := memset.o
14 ifeq ($(CONFIG_OPT_LIB_ASM),y)
15 lib-y += fastcopy.o
16 else
17 lib-y += memcpy.o memmove.o
18 endif
20 lib-y += uaccess_old.o
22 # libgcc-style stuff needed in the kernel
23 obj-y += ashldi3.o ashrdi3.o cmpdi2.o divsi3.o lshrdi3.o modsi3.o
24 obj-y += muldi3.o mulsi3.o ucmpdi2.o udivsi3.o umodsi3.o