diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2022-09-05 08:38:55 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-05 08:38:55 -0300 |
commit | 774b4924c0e1697b6f9195d865507921329648c2 (patch) | |
tree | 5407ea781462328cb1793682d9ca611a49d41fdd /recipes-bsp/imx-atf/imx-atf_2.6.bb | |
parent | 9166561e6de728c7a884dd952fc561aa38648077 (diff) | |
parent | 49d62fd1247b234528b19366568ff9db514ef62e (diff) | |
download | meta-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.bb | 3 |
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" | |||
37 | INHIBIT_DEFAULT_DEPS = "1" | 37 | INHIBIT_DEFAULT_DEPS = "1" |
38 | DEPENDS = "virtual/${HOST_PREFIX}gcc" | 38 | DEPENDS = "virtual/${HOST_PREFIX}gcc" |
39 | 39 | ||
40 | # Bring in clang compiler if using clang as default | ||
41 | DEPENDS:append:toolchain-clang = " clang-cross-${TARGET_ARCH}" | ||
42 | |||
40 | BUILD_OPTEE = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'true', 'false', d)}" | 43 | BUILD_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 |