Commit 61f72a34 authored by Roberto Vargas's avatar Roberto Vargas
Browse files

Create a library file for libc



TF Makefile was linking all the objects files generated for the
c library instead of creating a static library that could be
used in the linking stage.

Change-Id: I721daea097e9b13cbb42c9f8eaa2af8fea0799cf
Signed-off-by: default avatarRoberto Vargas <roberto.vargas@arm.com>
parent fec36484
......@@ -4,7 +4,7 @@
# SPDX-License-Identifier: BSD-3-Clause
#
STDLIB_SRCS := $(addprefix lib/stdlib/, \
LIBC_SRCS := $(addprefix lib/libc/, \
abort.c \
assert.c \
exit.c \
......@@ -21,5 +21,5 @@ STDLIB_SRCS := $(addprefix lib/stdlib/, \
subr_prf.c \
timingsafe_bcmp.c)
INCLUDES += -Iinclude/lib/stdlib \
-Iinclude/lib/stdlib/sys
INCLUDES += -Iinclude/lib/libc \
-Iinclude/lib/libc/sys
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment