diff options
author | Andrey Zhizhikin <andrey.z@gmail.com> | 2022-08-26 13:07:25 +0000 |
---|---|---|
committer | Nate Drude <nate.d@variscite.com> | 2022-10-25 13:50:34 -0500 |
commit | 0d2e41d1dd60b4f8ba42def0e15b59f01e893677 (patch) | |
tree | bd3395c664ea7e08bacb2a689f26941a2d7c67ce /recipes-security/optee-imx/optee-os_3.17.0.imx.bb | |
parent | eec19c55fe65fad64b80ec01ed45efff22e4b0da (diff) | |
download | meta-freescale-0d2e41d1dd60b4f8ba42def0e15b59f01e893677.tar.gz |
optee-os: fix build with binutils 2.39
binutils 2.39 started to produce warning on RWX LOAD segments, which
breaks the linking process of optee-os.
Upstream optee-os package has patch ac425901 ("arm/optee-os: backport
RWX permission error patch") [1] integrated, which has been
backported in OP-TEE from PR #5475 [2] targeting master in upstream.
Port upstream optee-os commit into NXP fork of optee-os.
Link: [1]: https://github.com/jonmason/meta-arm/commit/ac4259011f4c8cec01191828014487ccc5de73ca
Link: [2]: https://github.com/OP-TEE/optee_os/pull/5474
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Cc: Tom Hochstein <tom.hochstein@nxp.com>
(cherry picked from commit 42a054f5e3d18bdf0092dd29eff5980ba9af8db1)
Diffstat (limited to 'recipes-security/optee-imx/optee-os_3.17.0.imx.bb')
-rw-r--r-- | recipes-security/optee-imx/optee-os_3.17.0.imx.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-security/optee-imx/optee-os_3.17.0.imx.bb b/recipes-security/optee-imx/optee-os_3.17.0.imx.bb index 6e34eb9a..93e0ff6e 100644 --- a/recipes-security/optee-imx/optee-os_3.17.0.imx.bb +++ b/recipes-security/optee-imx/optee-os_3.17.0.imx.bb | |||
@@ -12,6 +12,10 @@ SRC_URI = "git://source.codeaurora.org/external/imx/imx-optee-os.git;protocol=ht | |||
12 | SRCBRANCH = "lf-5.15.32_2.0.0" | 12 | SRCBRANCH = "lf-5.15.32_2.0.0" |
13 | SRCREV = "984996422c25c99ebfc5194c1bb393028605bb0c" | 13 | SRCREV = "984996422c25c99ebfc5194c1bb393028605bb0c" |
14 | 14 | ||
15 | SRC_URI:append = " \ | ||
16 | file://0008-no-warn-rwx-segments.patch \ | ||
17 | " | ||
18 | |||
15 | S = "${WORKDIR}/git" | 19 | S = "${WORKDIR}/git" |
16 | 20 | ||
17 | inherit deploy python3native autotools features_check | 21 | inherit deploy python3native autotools features_check |