blob: 97a5db8392426fbf22bb2832c035042b00832db7 [file] [log] [blame]
Travis Geiselbrecht1d0df692008-09-01 02:26:09 -07001LOCAL_DIR := $(GET_LOCAL_DIR)
2
3C_STRING_OPS := \
4 bcopy \
5 bzero \
6 memchr \
7 memcmp \
8 memcpy \
9 memmove \
10 memset \
Channagoud Kadabi5ee74022015-02-18 14:54:43 -080011 memscpy \
Travis Geiselbrecht1d0df692008-09-01 02:26:09 -070012 strcat \
13 strchr \
14 strcmp \
15 strcoll \
16 strcpy \
17 strdup \
18 strerror \
19 strlcat \
20 strlcpy \
21 strlen \
22 strncat \
23 strncpy \
24 strncmp \
25 strnicmp \
26 strnlen \
27 strpbrk \
28 strrchr \
Deepa Dinamanieb9eefe2012-09-24 11:35:01 -070029 strrev \
Travis Geiselbrecht1d0df692008-09-01 02:26:09 -070030 strspn \
31 strstr \
32 strtok \
33 strxfrm
34
35LIBC_STRING_C_DIR := $(LOCAL_DIR)
36
37# include the arch specific string routines
38#
39# the makefile may filter out implemented versions from the C_STRING_OPS variable
40include $(LOCAL_DIR)/arch/$(ARCH)/rules.mk
41
42OBJS += \
43 $(addprefix $(LIBC_STRING_C_DIR)/,$(addsuffix .o,$(C_STRING_OPS)))