blob: 70c7ae6a3fb5659013912aa5cb362d50437a7c82 [file] [log] [blame]
Michal Simek5f8ffb52009-03-27 14:25:51 +01001#
2# Makefile
3#
4
Michal Simek9e1491d2011-03-18 13:52:27 +01005ifdef CONFIG_FUNCTION_TRACER
6CFLAGS_REMOVE_ashldi3.o = -pg
7CFLAGS_REMOVE_ashrdi3.o = -pg
8CFLAGS_REMOVE_lshrdi3.o = -pg
9endif
10
Remis Lima Baima14f87382009-06-18 19:55:32 +020011lib-y := memset.o
Michal Simek5f8ffb52009-03-27 14:25:51 +010012
13ifeq ($(CONFIG_OPT_LIB_ASM),y)
14lib-y += fastcopy.o
15else
16lib-y += memcpy.o memmove.o
17endif
18
Michal Simek94804a92010-03-22 18:39:20 +010019lib-y += uaccess_old.o
Michal Simek4e07dba2010-08-12 14:28:53 +020020
David Holsgroveef264cf2014-02-27 16:42:42 -080021# libgcc-style stuff needed in the kernel
22obj-y += ashldi3.o ashrdi3.o cmpdi2.o divsi3.o lshrdi3.o modsi3.o
23obj-y += muldi3.o mulsi3.o ucmpdi2.o udivsi3.o umodsi3.o