mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 17:44:19 +00:00

This function scans a string backwards from the end for the first instance of a character. Change-Id: I46b21573ed25a0ff222eac340e1e1fb93b040763 Signed-off-by: Ambroise Vincent <ambroise.vincent@arm.com>
35 lines
644 B
Makefile
35 lines
644 B
Makefile
#
|
|
# Copyright (c) 2016-2019, ARM Limited and Contributors. All rights reserved.
|
|
#
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
#
|
|
|
|
LIBC_SRCS := $(addprefix lib/libc/, \
|
|
abort.c \
|
|
assert.c \
|
|
exit.c \
|
|
memchr.c \
|
|
memcmp.c \
|
|
memcpy.c \
|
|
memmove.c \
|
|
memrchr.c \
|
|
memset.c \
|
|
printf.c \
|
|
putchar.c \
|
|
puts.c \
|
|
snprintf.c \
|
|
strchr.c \
|
|
strcmp.c \
|
|
strlcpy.c \
|
|
strlen.c \
|
|
strncmp.c \
|
|
strnlen.c \
|
|
strrchr.c)
|
|
|
|
ifeq (${ARCH},aarch64)
|
|
LIBC_SRCS += $(addprefix lib/libc/aarch64/, \
|
|
setjmp.S)
|
|
endif
|
|
|
|
INCLUDES += -Iinclude/lib/libc \
|
|
-Iinclude/lib/libc/$(ARCH) \
|