From fcf6c8f5b2c3783a02b1496b66cd4960e29165b4 Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Wed, 23 Nov 2022 15:27:20 +0100 Subject: [PATCH] up to 2.8.0 --- arm-trusted-firmware.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/arm-trusted-firmware.spec b/arm-trusted-firmware.spec index 03fc94b..7b09143 100644 --- a/arm-trusted-firmware.spec +++ b/arm-trusted-firmware.spec @@ -1,17 +1,21 @@ Summary: ARM Trusted Firmware Name: arm-trusted-firmware -Version: 2.7.0 +Version: 2.8.0 Release: 1 License: BSD Group: Base/Kernel Source0: https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/snapshot/trusted-firmware-a-%{version}.tar.gz -# Source0-md5: 027614c144094b203e8e296ab7b076fe +# Source0-md5: 4834cc9dc6b0188ab65df45a74b3bc9d URL: https://developer.arm.com/tools-and-software/open-source-software/firmware/trusted-firmware BuildRequires: crossarm-gcc BuildRequires: dtc +BuildRequires: openssl-tools +BuildRequires: rpmbuild(macros) >= 1.750 ExclusiveArch: aarch64 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +%define binutils_ver %(rpm -q --qf=%%{V} binutils) + %description ARM Trusted firmware is a reference implementation of secure world software for ARMv8-A including Exception Level 3 (EL3) software. It @@ -41,6 +45,9 @@ interest to users. %setup -q -n trusted-firmware-a-%{version} %build +%if %{_ver_ge "%binutils_ver" "2.39"} +export TF_LDFLAGS="--no-warn-rwx-segments" +%endif for soc in rk3399; do %{__make} \ V=1 \ -- 2.44.0