From 0cc0d30c6ec43d1dc7a1cde172959d7a028b1a29 Mon Sep 17 00:00:00 2001 From: Andrey Zhizhikin Date: Fri, 3 Dec 2021 10:07:05 +0000 Subject: imx-atf: remove dependency on C runtime 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 Link: [1]: https://github.com/jonmason/meta-arm/commit/de5d5e611a81dd7934ef8343b84948fbeffc333b --- recipes-bsp/imx-atf/imx-atf_2.4.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes-bsp/imx-atf/imx-atf_2.4.bb b/recipes-bsp/imx-atf/imx-atf_2.4.bb index 965e0948..8792c0cd 100644 --- a/recipes-bsp/imx-atf/imx-atf_2.4.bb +++ b/recipes-bsp/imx-atf/imx-atf_2.4.bb @@ -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() { -- cgit v1.2.3-54-g00ecf