diff options
author | Andrey Zhizhikin <andrey.z@gmail.com> | 2021-12-03 10:07:05 +0000 |
---|---|---|
committer | Andrey Zhizhikin <andrey.z@gmail.com> | 2021-12-03 10:07:05 +0000 |
commit | 0cc0d30c6ec43d1dc7a1cde172959d7a028b1a29 (patch) | |
tree | 7eb8d0207f84a1555b51f53222d05602b840defc | |
parent | ad889575ae02de982a47f642db9c9fbfc17c1873 (diff) | |
download | meta-freescale-0cc0d30c6ec43d1dc7a1cde172959d7a028b1a29.tar.gz |
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.bb | 3 |
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" | |||
31 | AS[unexport] = "1" | 31 | AS[unexport] = "1" |
32 | LD[unexport] = "1" | 32 | LD[unexport] = "1" |
33 | 33 | ||
34 | # Baremetal, just need a compiler | ||
35 | DEPENDS:remove = "virtual/${TARGET_PREFIX}compilerlibs virtual/libc" | ||
36 | |||
34 | BUILD_OPTEE = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'true', 'false', d)}" | 37 | BUILD_OPTEE = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'true', 'false', d)}" |
35 | 38 | ||
36 | do_compile() { | 39 | do_compile() { |