commit | e650417399da313c51bcfd6ce3f3d32f463ca002 | [log] [tgz] |
---|---|---|
author | Tim Lee <timlee660101@gmail.com> | Tue Oct 04 16:34:54 2022 +0800 |
committer | Tim Lee <chli30@nuvoton.com> | Thu Oct 06 01:16:35 2022 +0000 |
tree | ce839c5403c6ace56777a5649c58b51300935595 | |
parent | 64205487e3d721f566704a7ce4f5c2086ba37b36 [diff] [blame] |
meta-nuvoton: trusted-firmware-a: add no-warn-rwx-segments for fixing build break Due to the changes in binutils, when there is any warning during the linking, it would be treated as a fatal error, breaking the compilation. Similar fix is added in https://github.com/OP-TEE/optee_os/pull/5474 Optee-os already apply patch in optee/optee-os/0008-no-warn-rwx-segments.patch Signed-off-by: Tim Lee <timlee660101@gmail.com> Change-Id: I4a6a688a0fc1c928092d3f6750e79fd8dc23afe7
diff --git a/meta-nuvoton/dynamic-layers/arm-layer/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.0.bbappend b/meta-nuvoton/dynamic-layers/arm-layer/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.0.bbappend index c4062f0..38b7853 100644 --- a/meta-nuvoton/dynamic-layers/arm-layer/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.0.bbappend +++ b/meta-nuvoton/dynamic-layers/arm-layer/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.0.bbappend
@@ -1,3 +1,6 @@ SRC_URI:remove = "git://git.trustedfirmware.org/TF-A/trusted-firmware-a.git;protocol=https;name=tfa;branch=master" SRC_URI:append = "git://github.com/Nuvoton-Israel/arm-trusted-firmware.git;protocol=https;name=tfa;branch=nuvoton" SRCREV_tfa = "47ea2b50c8dd0b19217f70dc127299e23b0fe72c" + +# Enable no warning for loading segment with RWX permissions +EXTRA_OEMAKE += "LDFLAGS='--no-warn-rwx-segments'"