2009-03-27 21:25:51 +08:00
|
|
|
#
|
|
|
|
# Makefile
|
|
|
|
#
|
|
|
|
|
2011-03-18 20:52:27 +08:00
|
|
|
ifdef CONFIG_FUNCTION_TRACER
|
|
|
|
CFLAGS_REMOVE_ashldi3.o = -pg
|
|
|
|
CFLAGS_REMOVE_ashrdi3.o = -pg
|
|
|
|
CFLAGS_REMOVE_lshrdi3.o = -pg
|
|
|
|
endif
|
|
|
|
|
2009-06-19 01:55:32 +08:00
|
|
|
lib-y := memset.o
|
2009-03-27 21:25:51 +08:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_OPT_LIB_ASM),y)
|
|
|
|
lib-y += fastcopy.o
|
|
|
|
else
|
|
|
|
lib-y += memcpy.o memmove.o
|
|
|
|
endif
|
|
|
|
|
2010-03-23 01:39:20 +08:00
|
|
|
lib-y += uaccess_old.o
|
2010-08-12 20:28:53 +08:00
|
|
|
|
2014-02-28 08:42:42 +08:00
|
|
|
# libgcc-style stuff needed in the kernel
|
|
|
|
obj-y += ashldi3.o ashrdi3.o cmpdi2.o divsi3.o lshrdi3.o modsi3.o
|
|
|
|
obj-y += muldi3.o mulsi3.o ucmpdi2.o udivsi3.o umodsi3.o
|