summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/imx-atf/imx-atf_2.10.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/imx-atf/imx-atf_2.10.bb')
-rw-r--r--recipes-bsp/imx-atf/imx-atf_2.10.bb13
1 files changed, 7 insertions, 6 deletions
diff --git a/recipes-bsp/imx-atf/imx-atf_2.10.bb b/recipes-bsp/imx-atf/imx-atf_2.10.bb
index 14ed12523..7448c28c5 100644
--- a/recipes-bsp/imx-atf/imx-atf_2.10.bb
+++ b/recipes-bsp/imx-atf/imx-atf_2.10.bb
@@ -7,11 +7,10 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/BSD-3-Clause;m
7 7
8PV .= "+git${SRCPV}" 8PV .= "+git${SRCPV}"
9 9
10SRC_URI = "git://github.com/nxp-imx/imx-atf.git;protocol=https;branch=${SRCBRANCH}" 10SRC_URI = "git://github.com/nxp-imx/imx-atf.git;protocol=https;branch=${SRCBRANCH} \
11 file://0001-imx93-trdc-Fix-header-guard.patch"
11SRCBRANCH = "lf_v2.10" 12SRCBRANCH = "lf_v2.10"
12SRCREV = "49143a1701d9ccd3239e3f95f3042897ca889ea8" 13SRCREV = "78a14c75a06dea39036c44ae0f9d23acc7bcaef2"
13
14S = "${WORKDIR}/git"
15 14
16inherit deploy 15inherit deploy
17 16
@@ -34,7 +33,7 @@ LD[unexport] = "1"
34 33
35# Baremetal, just need a compiler 34# Baremetal, just need a compiler
36INHIBIT_DEFAULT_DEPS = "1" 35INHIBIT_DEFAULT_DEPS = "1"
37DEPENDS = "virtual/${HOST_PREFIX}gcc" 36DEPENDS = "virtual/cross-cc"
38 37
39# Bring in clang compiler if using clang as default 38# Bring in clang compiler if using clang as default
40DEPENDS:append:toolchain-clang = " clang-cross-${TARGET_ARCH}" 39DEPENDS:append:toolchain-clang = " clang-cross-${TARGET_ARCH}"
@@ -48,7 +47,9 @@ def remove_options_tail (in_string):
48 from itertools import takewhile 47 from itertools import takewhile
49 return ' '.join(takewhile(lambda x: not x.startswith('-'), in_string.split(' '))) 48 return ' '.join(takewhile(lambda x: not x.startswith('-'), in_string.split(' ')))
50 49
51EXTRA_OEMAKE += 'LD="${@remove_options_tail(d.getVar('LD'))}.bfd"' 50# LD can have linker suffix in its name e.g. aarch64-yoe-linux-ld.lld so we need to
51# drop .lld as well along with options from LD
52EXTRA_OEMAKE += 'LD="${HOST_PREFIX}ld.bfd"'
52 53
53EXTRA_OEMAKE += 'CC="${@remove_options_tail(d.getVar('CC'))}"' 54EXTRA_OEMAKE += 'CC="${@remove_options_tail(d.getVar('CC'))}"'
54 55