]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx-atf: remove dependency on C runtime
authorAndrey Zhizhikin <andrey.z@gmail.com>
Fri, 3 Dec 2021 10:07:05 +0000 (10:07 +0000)
committerAndrey Zhizhikin <andrey.z@gmail.com>
Fri, 3 Dec 2021 10:07:05 +0000 (10:07 +0000)
This is a port of commit de5d5e6 ("arm/trusted-firmware-a: no need to
DEPENDS on a C runtime") from meta-arm [1].

TF-A is a baremetal application and do not need to DEPENDS on a C
runtime.

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Link: [1]: https://github.com/jonmason/meta-arm/commit/de5d5e611a81dd7934ef8343b84948fbeffc333b

recipes-bsp/imx-atf/imx-atf_2.4.bb

index 965e09481b486d28c4319685c44ce17a91cda9de..8792c0cdc4bd544a0b152266ed4bc8a288901e77 100644 (file)
@@ -31,6 +31,9 @@ LDFLAGS[unexport] = "1"
 AS[unexport] = "1"
 LD[unexport] = "1"
 
+# Baremetal, just need a compiler
+DEPENDS:remove = "virtual/${TARGET_PREFIX}compilerlibs virtual/libc"
+
 BUILD_OPTEE = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'true', 'false', d)}"
 
 do_compile() {