| 1 |
# SPDX-License-Identifier: GPL-2.0 |
| 2 |
# |
| 3 |
# Makefile |
| 4 |
# |
| 5 |
|
| 6 |
ifdef CONFIG_FUNCTION_TRACER |
| 7 |
CFLAGS_REMOVE_ashldi3.o = -pg |
| 8 |
CFLAGS_REMOVE_ashrdi3.o = -pg |
| 9 |
CFLAGS_REMOVE_lshrdi3.o = -pg |
| 10 |
endif |
| 11 |
|
| 12 |
lib-y := memset.o |
| 13 |
|
| 14 |
ifeq ($(CONFIG_OPT_LIB_ASM),y) |
| 15 |
lib-y += fastcopy.o |
| 16 |
else |
| 17 |
lib-y += memcpy.o memmove.o |
| 18 |
endif |
| 19 |
|
| 20 |
lib-y += uaccess_old.o |
| 21 |
|
| 22 |
# libgcc-style stuff needed in the kernel |
| 23 |
obj-y += ashldi3.o ashrdi3.o cmpdi2.o divsi3.o lshrdi3.o modsi3.o |
| 24 |
obj-y += muldi3.o mulsi3.o ucmpdi2.o udivsi3.o umodsi3.o |