• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Copyright (c) 2016-2019, ARM Limited and Contributors. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7LIBC_SRCS	:=	$(addprefix lib/libc/,		\
8			abort.c				\
9			assert.c			\
10			exit.c				\
11			memchr.c			\
12			memcmp.c			\
13			memcpy.c			\
14			memmove.c			\
15			memrchr.c			\
16			memset.c			\
17			printf.c			\
18			putchar.c			\
19			puts.c				\
20			snprintf.c			\
21			strchr.c			\
22			strcmp.c			\
23			strlcpy.c			\
24			strlen.c			\
25			strncmp.c			\
26			strnlen.c			\
27			strrchr.c)
28
29ifeq (${ARCH},aarch64)
30LIBC_SRCS	+=	$(addprefix lib/libc/aarch64/,	\
31			setjmp.S)
32endif
33
34INCLUDES	+=	-Iinclude/lib/libc		\
35			-Iinclude/lib/libc/$(ARCH)	\
36