xref: /openbmc/linux/arch/microblaze/lib/Makefile (revision ef264cf0)
15f8ffb5fSMichal Simek#
25f8ffb5fSMichal Simek# Makefile
35f8ffb5fSMichal Simek#
45f8ffb5fSMichal Simek
59e1491deSMichal Simekifdef CONFIG_FUNCTION_TRACER
69e1491deSMichal SimekCFLAGS_REMOVE_ashldi3.o = -pg
79e1491deSMichal SimekCFLAGS_REMOVE_ashrdi3.o = -pg
89e1491deSMichal SimekCFLAGS_REMOVE_lshrdi3.o = -pg
99e1491deSMichal Simekendif
109e1491deSMichal Simek
1114f87389SRemis Lima Baimalib-y :=  memset.o
125f8ffb5fSMichal Simek
135f8ffb5fSMichal Simekifeq ($(CONFIG_OPT_LIB_ASM),y)
145f8ffb5fSMichal Simeklib-y += fastcopy.o
155f8ffb5fSMichal Simekelse
165f8ffb5fSMichal Simeklib-y += memcpy.o memmove.o
175f8ffb5fSMichal Simekendif
185f8ffb5fSMichal Simek
1994804a9bSMichal Simeklib-y += uaccess_old.o
204e07dba7SMichal Simek
21ef264cf0SDavid Holsgrove# libgcc-style stuff needed in the kernel
22ef264cf0SDavid Holsgroveobj-y += ashldi3.o ashrdi3.o cmpdi2.o divsi3.o lshrdi3.o modsi3.o
23ef264cf0SDavid Holsgroveobj-y += muldi3.o mulsi3.o ucmpdi2.o udivsi3.o umodsi3.o
24