2016-06-02 17:15:13 +01:00
|
|
|
#
|
2018-08-17 09:46:43 +01:00
|
|
|
# Copyright (c) 2016-2018, ARM Limited and Contributors. All rights reserved.
|
2016-06-02 17:15:13 +01:00
|
|
|
#
|
2017-05-03 09:38:09 +01:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
2016-06-02 17:15:13 +01:00
|
|
|
#
|
|
|
|
|
2018-05-08 10:27:10 +01:00
|
|
|
LIBC_SRCS := $(addprefix lib/libc/, \
|
2016-06-02 17:15:13 +01:00
|
|
|
abort.c \
|
|
|
|
assert.c \
|
|
|
|
exit.c \
|
2018-08-16 14:53:05 +01:00
|
|
|
memchr.c \
|
|
|
|
memcmp.c \
|
|
|
|
memcpy.c \
|
|
|
|
memmove.c \
|
|
|
|
memset.c \
|
2016-06-02 17:15:13 +01:00
|
|
|
printf.c \
|
|
|
|
putchar.c \
|
|
|
|
puts.c \
|
2018-08-15 17:02:28 +01:00
|
|
|
snprintf.c \
|
2016-06-02 17:15:13 +01:00
|
|
|
strchr.c \
|
|
|
|
strcmp.c \
|
|
|
|
strlen.c \
|
|
|
|
strncmp.c \
|
2018-08-15 17:02:28 +01:00
|
|
|
strnlen.c)
|
2016-06-02 17:15:13 +01:00
|
|
|
|
2018-05-08 10:27:10 +01:00
|
|
|
INCLUDES += -Iinclude/lib/libc \
|
2018-08-15 19:51:09 +01:00
|
|
|
-Iinclude/lib/libc/$(ARCH) \
|