Michal Simek | 5f8ffb5 | 2009-03-27 14:25:51 +0100 | [diff] [blame] | 1 | # |
| 2 | # Makefile |
| 3 | # |
| 4 | |
Michal Simek | 9e1491d | 2011-03-18 13:52:27 +0100 | [diff] [blame] | 5 | ifdef CONFIG_FUNCTION_TRACER |
| 6 | CFLAGS_REMOVE_ashldi3.o = -pg |
| 7 | CFLAGS_REMOVE_ashrdi3.o = -pg |
| 8 | CFLAGS_REMOVE_lshrdi3.o = -pg |
| 9 | endif |
| 10 | |
Remis Lima Baima | 14f8738 | 2009-06-18 19:55:32 +0200 | [diff] [blame] | 11 | lib-y := memset.o |
Michal Simek | 5f8ffb5 | 2009-03-27 14:25:51 +0100 | [diff] [blame] | 12 | |
| 13 | ifeq ($(CONFIG_OPT_LIB_ASM),y) |
| 14 | lib-y += fastcopy.o |
| 15 | else |
| 16 | lib-y += memcpy.o memmove.o |
| 17 | endif |
| 18 | |
Michal Simek | 94804a9 | 2010-03-22 18:39:20 +0100 | [diff] [blame] | 19 | lib-y += uaccess_old.o |
Michal Simek | 4e07dba | 2010-08-12 14:28:53 +0200 | [diff] [blame] | 20 | |
David Holsgrove | ef264cf | 2014-02-27 16:42:42 -0800 | [diff] [blame] | 21 | # libgcc-style stuff needed in the kernel |
| 22 | obj-y += ashldi3.o ashrdi3.o cmpdi2.o divsi3.o lshrdi3.o modsi3.o |
| 23 | obj-y += muldi3.o mulsi3.o ucmpdi2.o udivsi3.o umodsi3.o |