aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Zhizhikin <andrey.z@gmail.com>2021-12-03 10:07:05 +0000
committerAndrey Zhizhikin <andrey.z@gmail.com>2021-12-03 10:07:05 +0000
commit0cc0d30c6ec43d1dc7a1cde172959d7a028b1a29 (patch)
tree7eb8d0207f84a1555b51f53222d05602b840defc
parentad889575ae02de982a47f642db9c9fbfc17c1873 (diff)
downloadmeta-freescale-0cc0d30c6ec43d1dc7a1cde172959d7a028b1a29.tar.gz
meta-freescale-0cc0d30c6ec43d1dc7a1cde172959d7a028b1a29.tar.bz2
meta-freescale-0cc0d30c6ec43d1dc7a1cde172959d7a028b1a29.zip
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 <andrey.z@gmail.com> Link: [1]: https://github.com/jonmason/meta-arm/commit/de5d5e611a81dd7934ef8343b84948fbeffc333b
-rw-r--r--recipes-bsp/imx-atf/imx-atf_2.4.bb3
1 files changed, 3 insertions, 0 deletions
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() {