[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#74849] [PATCH 5/6] gnu: make-arm-trusted-firmware: Update to 2.12.
From: |
Herman Rimm |
Subject: |
[bug#74849] [PATCH 5/6] gnu: make-arm-trusted-firmware: Update to 2.12. |
Date: |
Fri, 13 Dec 2024 13:25:48 +0100 |
* gnu/packages/firmware.scm (make-arm-trusted-firmware): Update to 2.12.
[arguments]: Select correct objcopy and objdump variants.
[native-inputs]: Add python to avoid warnings.
Change-Id: Iccff10b16090913fe5c99491d8335f8ede09038c
---
gnu/packages/firmware.scm | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index 438b347dfb..2e170fcc1d 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -1106,7 +1106,7 @@ (define* (make-arm-trusted-firmware platform
(string=? (%current-system) (gnu-triplet->nix-system triplet))))
(package
(name (guix-name "arm-trusted-firmware-" platform))
- (version "2.9")
+ (version "2.12")
(source
(origin
(method git-fetch)
@@ -1116,7 +1116,7 @@ (define* (make-arm-trusted-firmware platform
(commit (string-append "v" version))))
(file-name (git-file-name "arm-trusted-firmware" version))
(sha256
- (base32 "16fjbn1zck0d8b554h8lk1svqqn0zlawvrlkjxry9l71s9h4vd0p"))
+ (base32 "18rzhygvq0afcylirq9yis3kaa1nli14k2jrm64ih85gz4nhl99w"))
(modules '((guix build utils)))
;; Remove binary blobs: they don't reference a source or license.
(snippet #~(for-each delete-file (find-files "." "\\.bin$")))))
@@ -1126,7 +1126,14 @@ (define* (make-arm-trusted-firmware platform
#:target (and (not (native-build?)) triplet)
#:phases
#~(modify-phases %standard-phases
- (delete 'configure) ;no configure script
+ (replace 'configure ;no configure script
+ ;; Fix ATF commit ffb7742125def3e0acca4c7e4d3215af5ce25a31
+ (lambda _
+ (substitute* "plat/rockchip/rk3399/drivers/m0/Makefile"
+ (("-oc") "-oc-default"))
+ (substitute* "make_helpers/build_macros.mk"
+ (("-oc") "-oc-default")
+ (("-od") "-od-default"))))
(replace 'install
(lambda _
(for-each (lambda (file)
@@ -1139,6 +1146,7 @@ (define* (make-arm-trusted-firmware platform
'())
"DEBUG=1")
#:tests? #f)) ;no test suite
+ (native-inputs (list python))
(home-page "https://www.trustedfirmware.org/")
(synopsis "Secure world software for ARMv7-A and ARMv8-A")
(description
--
2.45.2
- [bug#74849] [PATCH 0/6] Update ARM Trusted Firmware., Herman Rimm, 2024/12/13
- [bug#74849] [PATCH 5/6] gnu: make-arm-trusted-firmware: Update to 2.12.,
Herman Rimm <=
- [bug#74849] [PATCH 3/6] import: utils: Move guix-name to (guix utils)., Herman Rimm, 2024/12/13
- [bug#74849] [PATCH 2/6] gnu: arm-trusted-firmware: Reformat., Herman Rimm, 2024/12/13
- [bug#74849] [PATCH 6/6] gnu: arm-trusted-firmware-imx8mq: Fix build., Herman Rimm, 2024/12/13
- [bug#74849] [PATCH 1/6] gnu: arm-trusted-firmware-rk3399: Reformat., Herman Rimm, 2024/12/13
- [bug#74849] [PATCH 0/6] Update ARM Trusted Firmware., Vagrant Cascadian, 2024/12/15
- [bug#74849] [PATCH v2 0/6] Update ARM Trusted Firmware., Herman Rimm, 2024/12/19