mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-11 13:04:03 +08:00
ef264cf0c4
Following precedence set by MIPs:
"[MIPS] Change libgcc-style functions from lib-y to obj-y"
(sha1: f7c2778151
),
switch the goal definition for kbuild to obj-y to ensure
object files linked in vmlinux if only modules were users
of these functions.
Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
24 lines
442 B
Makefile
24 lines
442 B
Makefile
#
|
|
# Makefile
|
|
#
|
|
|
|
ifdef CONFIG_FUNCTION_TRACER
|
|
CFLAGS_REMOVE_ashldi3.o = -pg
|
|
CFLAGS_REMOVE_ashrdi3.o = -pg
|
|
CFLAGS_REMOVE_lshrdi3.o = -pg
|
|
endif
|
|
|
|
lib-y := memset.o
|
|
|
|
ifeq ($(CONFIG_OPT_LIB_ASM),y)
|
|
lib-y += fastcopy.o
|
|
else
|
|
lib-y += memcpy.o memmove.o
|
|
endif
|
|
|
|
lib-y += uaccess_old.o
|
|
|
|
# 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
|