summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Lee <timlee660101@gmail.com>2022-10-04 11:34:54 +0300
committerTim Lee <chli30@nuvoton.com>2022-10-06 04:16:35 +0300
commite650417399da313c51bcfd6ce3f3d32f463ca002 (patch)
treece839c5403c6ace56777a5649c58b51300935595
parent64205487e3d721f566704a7ce4f5c2086ba37b36 (diff)
downloadopenbmc-e650417399da313c51bcfd6ce3f3d32f463ca002.tar.xz
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
-rw-r--r--meta-nuvoton/dynamic-layers/arm-layer/recipes-bsp/trusted-firmware-a/trusted-firmware-a_2.6.0.bbappend3
1 files changed, 3 insertions, 0 deletions
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 c4062f04b5..38b7853ac8 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'"