blob: 1276f5c82b8bae2e9925f02beff0c81b484b22d5 [file] [log] [blame]
Dan Handleyf0b489c2016-06-02 17:15:13 +01001#
Antonio Nino Diaz90f2d452018-08-17 09:46:43 +01002# Copyright (c) 2016-2018, ARM Limited and Contributors. All rights reserved.
Dan Handleyf0b489c2016-06-02 17:15:13 +01003#
dp-arm82cb2c12017-05-03 09:38:09 +01004# SPDX-License-Identifier: BSD-3-Clause
Dan Handleyf0b489c2016-06-02 17:15:13 +01005#
6
Roberto Vargas61f72a32018-05-08 10:27:10 +01007LIBC_SRCS := $(addprefix lib/libc/, \
Dan Handleyf0b489c2016-06-02 17:15:13 +01008 abort.c \
9 assert.c \
10 exit.c \
Antonio Nino Diaz4661abc2018-08-16 14:53:05 +010011 memchr.c \
12 memcmp.c \
13 memcpy.c \
14 memmove.c \
15 memset.c \
Dan Handleyf0b489c2016-06-02 17:15:13 +010016 printf.c \
17 putchar.c \
18 puts.c \
Antonio Nino Diaz870ce3d2018-08-15 17:02:28 +010019 snprintf.c \
Dan Handleyf0b489c2016-06-02 17:15:13 +010020 strchr.c \
21 strcmp.c \
Antonio Nino Diazb4cf9742018-09-27 09:22:19 +010022 strlcpy.c \
Dan Handleyf0b489c2016-06-02 17:15:13 +010023 strlen.c \
24 strncmp.c \
Antonio Nino Diaz1a29aba2018-10-19 00:57:10 +010025 strnlen.c \
26 strrchr.c)
Dan Handleyf0b489c2016-06-02 17:15:13 +010027
Roberto Vargas61f72a32018-05-08 10:27:10 +010028INCLUDES += -Iinclude/lib/libc \
Antonio Nino Diaz7c0ff9c2018-08-15 19:51:09 +010029 -Iinclude/lib/libc/$(ARCH) \