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