1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile
4#
5
6ifdef CONFIG_FUNCTION_TRACER
7CFLAGS_REMOVE_ashldi3.o = -pg
8CFLAGS_REMOVE_ashrdi3.o = -pg
9CFLAGS_REMOVE_lshrdi3.o = -pg
10endif
11
12lib-y :=  memset.o
13
14ifeq ($(CONFIG_OPT_LIB_ASM),y)
15lib-y += fastcopy.o
16else
17lib-y += memcpy.o memmove.o
18endif
19
20lib-y += uaccess_old.o
21
22# libgcc-style stuff needed in the kernel
23obj-y += ashldi3.o ashrdi3.o cmpdi2.o divsi3.o lshrdi3.o modsi3.o
24obj-y += muldi3.o mulsi3.o ucmpdi2.o udivsi3.o umodsi3.o
25