M7350/bootable/bootloader/lk/lib/libc/string/rules.mk

44 lines
647 B
Makefile
Raw Normal View History

2024-09-09 08:52:07 +00:00
LOCAL_DIR := $(GET_LOCAL_DIR)
C_STRING_OPS := \
bcopy \
bzero \
memchr \
memcmp \
memcpy \
memmove \
memset \
2024-09-09 08:57:42 +00:00
memscpy \
2024-09-09 08:52:07 +00:00
strcat \
strchr \
strcmp \
strcoll \
strcpy \
strdup \
strerror \
strlcat \
strlcpy \
strlen \
strncat \
strncpy \
strncmp \
strnicmp \
strnlen \
strpbrk \
strrchr \
strrev \
strspn \
strstr \
strtok \
strxfrm
LIBC_STRING_C_DIR := $(LOCAL_DIR)
# include the arch specific string routines
#
# the makefile may filter out implemented versions from the C_STRING_OPS variable
include $(LOCAL_DIR)/arch/$(ARCH)/rules.mk
OBJS += \
$(addprefix $(LIBC_STRING_C_DIR)/,$(addsuffix .o,$(C_STRING_OPS)))