blob: 1d038e61f631f1db88589e48c0bf74ac689cb2b9 [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 \
11 strcat \
12 strchr \
13 strcmp \
14 strcoll \
15 strcpy \
16 strdup \
17 strerror \
18 strlcat \
19 strlcpy \
20 strlen \
21 strncat \
22 strncpy \
23 strncmp \
24 strnicmp \
25 strnlen \
26 strpbrk \
27 strrchr \
28 strspn \
29 strstr \
30 strtok \
31 strxfrm
32
33LIBC_STRING_C_DIR := $(LOCAL_DIR)
34
35# include the arch specific string routines
36#
37# the makefile may filter out implemented versions from the C_STRING_OPS variable
38include $(LOCAL_DIR)/arch/$(ARCH)/rules.mk
39
40OBJS += \
41 $(addprefix $(LIBC_STRING_C_DIR)/,$(addsuffix .o,$(C_STRING_OPS)))
42