Dan Handley | d7b59e4 | 2016-06-02 17:15:13 +0100 | [diff] [blame] | 1 | # |
Antonio Nino Diaz | 07d5621 | 2018-08-17 09:46:43 +0100 | [diff] [blame] | 2 | # Copyright (c) 2016-2018, ARM Limited and Contributors. All rights reserved. |
Dan Handley | d7b59e4 | 2016-06-02 17:15:13 +0100 | [diff] [blame] | 3 | # |
dp-arm | fa3cf0b | 2017-05-03 09:38:09 +0100 | [diff] [blame] | 4 | # SPDX-License-Identifier: BSD-3-Clause |
Dan Handley | d7b59e4 | 2016-06-02 17:15:13 +0100 | [diff] [blame] | 5 | # |
6 | |||||
Roberto Vargas | 0f8f985 | 2018-05-08 10:27:10 +0100 | [diff] [blame] | 7 | LIBC_SRCS := $(addprefix lib/libc/, \ |
Dan Handley | d7b59e4 | 2016-06-02 17:15:13 +0100 | [diff] [blame] | 8 | abort.c \ |
9 | assert.c \ | ||||
10 | exit.c \ | ||||
Antonio Nino Diaz | 9eddb1e | 2018-08-16 14:53:05 +0100 | [diff] [blame] | 11 | memchr.c \ |
12 | memcmp.c \ | ||||
13 | memcpy.c \ | ||||
14 | memmove.c \ | ||||
15 | memset.c \ | ||||
Dan Handley | d7b59e4 | 2016-06-02 17:15:13 +0100 | [diff] [blame] | 16 | printf.c \ |
17 | putchar.c \ | ||||
18 | puts.c \ | ||||
Antonio Nino Diaz | c0c8eb6 | 2018-08-15 17:02:28 +0100 | [diff] [blame] | 19 | snprintf.c \ |
Dan Handley | d7b59e4 | 2016-06-02 17:15:13 +0100 | [diff] [blame] | 20 | strchr.c \ |
21 | strcmp.c \ | ||||
22 | strlen.c \ | ||||
23 | strncmp.c \ | ||||
Antonio Nino Diaz | c0c8eb6 | 2018-08-15 17:02:28 +0100 | [diff] [blame] | 24 | strnlen.c) |
Dan Handley | d7b59e4 | 2016-06-02 17:15:13 +0100 | [diff] [blame] | 25 | |
Roberto Vargas | 0f8f985 | 2018-05-08 10:27:10 +0100 | [diff] [blame] | 26 | INCLUDES += -Iinclude/lib/libc \ |
Antonio Nino Diaz | 6ef1612 | 2018-08-15 19:51:09 +0100 | [diff] [blame] | 27 | -Iinclude/lib/libc/$(ARCH) \ |