diff options
Diffstat (limited to 'recipes-bsp/imx-atf/imx-atf_2.10.bb')
-rw-r--r-- | recipes-bsp/imx-atf/imx-atf_2.10.bb | 13 |
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 | ||
8 | PV .= "+git${SRCPV}" | 8 | PV .= "+git${SRCPV}" |
9 | 9 | ||
10 | SRC_URI = "git://github.com/nxp-imx/imx-atf.git;protocol=https;branch=${SRCBRANCH}" | 10 | SRC_URI = "git://github.com/nxp-imx/imx-atf.git;protocol=https;branch=${SRCBRANCH} \ |
11 | file://0001-imx93-trdc-Fix-header-guard.patch" | ||
11 | SRCBRANCH = "lf_v2.10" | 12 | SRCBRANCH = "lf_v2.10" |
12 | SRCREV = "49143a1701d9ccd3239e3f95f3042897ca889ea8" | 13 | SRCREV = "78a14c75a06dea39036c44ae0f9d23acc7bcaef2" |
13 | |||
14 | S = "${WORKDIR}/git" | ||
15 | 14 | ||
16 | inherit deploy | 15 | inherit deploy |
17 | 16 | ||
@@ -34,7 +33,7 @@ LD[unexport] = "1" | |||
34 | 33 | ||
35 | # Baremetal, just need a compiler | 34 | # Baremetal, just need a compiler |
36 | INHIBIT_DEFAULT_DEPS = "1" | 35 | INHIBIT_DEFAULT_DEPS = "1" |
37 | DEPENDS = "virtual/${HOST_PREFIX}gcc" | 36 | DEPENDS = "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 |
40 | DEPENDS:append:toolchain-clang = " clang-cross-${TARGET_ARCH}" | 39 | DEPENDS: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 | ||
51 | EXTRA_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 | ||
52 | EXTRA_OEMAKE += 'LD="${HOST_PREFIX}ld.bfd"' | ||
52 | 53 | ||
53 | EXTRA_OEMAKE += 'CC="${@remove_options_tail(d.getVar('CC'))}"' | 54 | EXTRA_OEMAKE += 'CC="${@remove_options_tail(d.getVar('CC'))}"' |
54 | 55 | ||