summaryrefslogtreecommitdiff
path: root/fwu/ns_bl2u/ns_bl2u.mk
diff options
context:
space:
mode:
authorSandrine Bailleux <sandrine.bailleux@arm.com>2016-06-20 11:37:04 +0100
committerSandrine Bailleux <sandrine.bailleux@arm.com>2016-06-20 14:44:55 +0100
commite4aa5f8f0136e217bea24c6bb713c9da5ac9089b (patch)
tree35f4d96a16b01357ddcf370a0a0f513d5cfb38ae /fwu/ns_bl2u/ns_bl2u.mk
parentf70591af5c1f38318969d51429a70beca9734289 (diff)
Fix NS_BL1U & NS_BL2U makefiles
Since commit 8eccdb813efc ("Compile files of stdlib separately"), the C standard library files are compiled separately. However, the makefiles for the NS_BL1U and NS_BL2U images haven't been updated accordingly and still include the former std.c file, which doesn't exist anymore. As a result, the NS_BL1U and NS_BL2U images fail to build at the moment. This patch defines the list of source files for the C standard library in the framework.mk makefile. This provides an easy way for any image built by the TFTF build system to include these files. The TFTF, NS_BL1U and NS_BL2U makefiles have been updated to make use of it. Change-Id: Id8fc3c9cab7864570d56bb351836f485db742d6e
Diffstat (limited to 'fwu/ns_bl2u/ns_bl2u.mk')
-rw-r--r--fwu/ns_bl2u/ns_bl2u.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/fwu/ns_bl2u/ns_bl2u.mk b/fwu/ns_bl2u/ns_bl2u.mk
index dfbddfd..1c88fa3 100644
--- a/fwu/ns_bl2u/ns_bl2u.mk
+++ b/fwu/ns_bl2u/ns_bl2u.mk
@@ -41,7 +41,7 @@ NS_BL2U_SOURCES += framework/aarch64/arch.c \
lib/locks/spinlock.S \
lib/smc/asm_smc.S \
lib/smc/smc.c \
- lib/stdlib/std.c \
+ ${STD_LIB_SOURCES} \
lib/utils/mp_printf.c \
lib/utils/uuid.c \
plat/common/aarch64/plat_common.c \