summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/imx-atf/imx-atf_2.6.bb
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2022-09-05 08:38:55 -0300
committerGitHub <noreply@github.com>2022-09-05 08:38:55 -0300
commit774b4924c0e1697b6f9195d865507921329648c2 (patch)
tree5407ea781462328cb1793682d9ca611a49d41fdd /recipes-bsp/imx-atf/imx-atf_2.6.bb
parent9166561e6de728c7a884dd952fc561aa38648077 (diff)
parent49d62fd1247b234528b19366568ff9db514ef62e (diff)
downloadmeta-freescale-774b4924c0e1697b6f9195d865507921329648c2.tar.gz
Merge pull request #1195 from Freescale/backport-1194-to-kirkstone
[Backport kirkstone] imx-atf: Use clang when using toolchain-clang defaults
Diffstat (limited to 'recipes-bsp/imx-atf/imx-atf_2.6.bb')
-rw-r--r--recipes-bsp/imx-atf/imx-atf_2.6.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-bsp/imx-atf/imx-atf_2.6.bb b/recipes-bsp/imx-atf/imx-atf_2.6.bb
index b0426f0b..ec943fa5 100644
--- a/recipes-bsp/imx-atf/imx-atf_2.6.bb
+++ b/recipes-bsp/imx-atf/imx-atf_2.6.bb
@@ -37,6 +37,9 @@ LD[unexport] = "1"
37INHIBIT_DEFAULT_DEPS = "1" 37INHIBIT_DEFAULT_DEPS = "1"
38DEPENDS = "virtual/${HOST_PREFIX}gcc" 38DEPENDS = "virtual/${HOST_PREFIX}gcc"
39 39
40# Bring in clang compiler if using clang as default
41DEPENDS:append:toolchain-clang = " clang-cross-${TARGET_ARCH}"
42
40BUILD_OPTEE = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'true', 'false', d)}" 43BUILD_OPTEE = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'true', 'false', d)}"
41 44
42# CC and LD introduce arguments which conflict with those otherwise provided by 45# CC and LD introduce arguments which conflict with those otherwise provided by