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
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() {