blob: 554f36bb7a7b5dc195205f06afbdba9131ba2747 [file] [log] [blame]
Dan Handleyd7b59e42016-06-02 17:15:13 +01001#
Antonio Nino Diaz07d56212018-08-17 09:46:43 +01002# Copyright (c) 2016-2018, ARM Limited and Contributors. All rights reserved.
Dan Handleyd7b59e42016-06-02 17:15:13 +01003#
dp-armfa3cf0b2017-05-03 09:38:09 +01004# SPDX-License-Identifier: BSD-3-Clause
Dan Handleyd7b59e42016-06-02 17:15:13 +01005#
6
Roberto Vargas0f8f9852018-05-08 10:27:10 +01007LIBC_SRCS := $(addprefix lib/libc/, \
Dan Handleyd7b59e42016-06-02 17:15:13 +01008 abort.c \
9 assert.c \
10 exit.c \
Antonio Nino Diaz9eddb1e2018-08-16 14:53:05 +010011 memchr.c \
12 memcmp.c \
13 memcpy.c \
14 memmove.c \
15 memset.c \
Dan Handleyd7b59e42016-06-02 17:15:13 +010016 printf.c \
17 putchar.c \
18 puts.c \
Antonio Nino Diazc0c8eb62018-08-15 17:02:28 +010019 snprintf.c \
Dan Handleyd7b59e42016-06-02 17:15:13 +010020 strchr.c \
21 strcmp.c \
22 strlen.c \
23 strncmp.c \
Antonio Nino Diazc0c8eb62018-08-15 17:02:28 +010024 strnlen.c)
Dan Handleyd7b59e42016-06-02 17:15:13 +010025
Roberto Vargas0f8f9852018-05-08 10:27:10 +010026INCLUDES += -Iinclude/lib/libc \
Antonio Nino Diaz6ef16122018-08-15 19:51:09 +010027 -Iinclude/lib/libc/$(ARCH) \