1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 25f8ffb5fSMichal Simek# 35f8ffb5fSMichal Simek# Makefile 45f8ffb5fSMichal Simek# 55f8ffb5fSMichal Simek 69e1491deSMichal Simekifdef CONFIG_FUNCTION_TRACER 79e1491deSMichal SimekCFLAGS_REMOVE_ashldi3.o = -pg 89e1491deSMichal SimekCFLAGS_REMOVE_ashrdi3.o = -pg 99e1491deSMichal SimekCFLAGS_REMOVE_lshrdi3.o = -pg 109e1491deSMichal Simekendif 119e1491deSMichal Simek 1214f87389SRemis Lima Baimalib-y := memset.o 135f8ffb5fSMichal Simek 145f8ffb5fSMichal Simekifeq ($(CONFIG_OPT_LIB_ASM),y) 155f8ffb5fSMichal Simeklib-y += fastcopy.o 165f8ffb5fSMichal Simekelse 175f8ffb5fSMichal Simeklib-y += memcpy.o memmove.o 185f8ffb5fSMichal Simekendif 195f8ffb5fSMichal Simek 2094804a9bSMichal Simeklib-y += uaccess_old.o 214e07dba7SMichal Simek 22ef264cf0SDavid Holsgrove# libgcc-style stuff needed in the kernel 23ef264cf0SDavid Holsgroveobj-y += ashldi3.o ashrdi3.o cmpdi2.o divsi3.o lshrdi3.o modsi3.o 24ef264cf0SDavid Holsgroveobj-y += muldi3.o mulsi3.o ucmpdi2.o udivsi3.o umodsi3.o 25