From: Herman Rimm via Guix-patches via <guix-patches@gnu.org>
To: 74997@debbugs.gnu.org
Cc: Efraim Flashner <efraim@flashner.co.il>,
Vagrant Cascadian <vagrant@debian.org>
Subject: [bug#74997] [PATCH 4/5] gnu: make-arm-trusted-firmware: Use downstream-package-name.
Date: Fri, 20 Dec 2024 18:35:04 +0100 [thread overview]
Message-ID: <e494e0e477473230de3ca7fbac90e1527dd081c2.1734715617.git.herman@rimm.ee> (raw)
In-Reply-To: <e8e619647cf325c69d274e0ff0b49ed9115327ac.1734715617.git.herman@rimm.ee>
* gnu/packages/firmware.scm (make-arm-trusted-firmware): Use
downstream-package-name.
[arguments]: Remove configure phase, use fix-cross-build phase instead.
(arm-trusted-firmware-sun50i-a64): Return base package directly.
Change-Id: I23f05ac5e8e897037cd8d8afc4e747b05e56e32d
---
gnu/packages/firmware.scm | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index 89d29b8add..04f138f22c 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -1108,7 +1108,7 @@ (define* (make-arm-trusted-firmware platform #:key
;;%current-system is a *triplet*, unlike its name would suggest.
(string=? (%current-system) (gnu-triplet->nix-system triplet))))
(package
- (name (string-append "arm-trusted-firmware-" platform))
+ (name (downstream-package-name "arm-trusted-firmware-" platform))
(version "2.12")
(source
(origin
@@ -1131,7 +1131,7 @@ (define* (make-arm-trusted-firmware platform #:key
#:target (and (not (native-build?)) triplet)
#:phases
#~(modify-phases %standard-phases
- (replace 'configure ;no configure script
+ (add-after 'unpack 'fix-cross-build
;; Fix ATF commit ffb7742125def3e0acca4c7e4d3215af5ce25a31
(lambda _
(unless #$(native-build?)
@@ -1140,6 +1140,7 @@ (define* (make-arm-trusted-firmware platform #:key
(substitute* "make_helpers/build_macros.mk"
(("-oc") "-oc-default")
(("-od") "-od-default")))))
+ (delete 'configure) ;no configure script
(replace 'install
(lambda _
(for-each (lambda (file)
@@ -1171,10 +1172,7 @@ (define* (make-arm-trusted-firmware platform #:key
license:bsd-2)))) ; libfdt
(define-public arm-trusted-firmware-sun50i-a64
- (let ((base (make-arm-trusted-firmware "sun50i_a64")))
- (package
- (inherit base)
- (name "arm-trusted-firmware-sun50i-a64"))))
+ (make-arm-trusted-firmware "sun50i_a64"))
(define-public arm-trusted-firmware-rk3328
(make-arm-trusted-firmware "rk3328"))
--
2.45.2
next prev parent reply other threads:[~2024-12-20 17:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-20 17:32 [bug#74997] [PATCH 1/5] import: utils: Rename guix-name to downstream-package-name Herman Rimm via Guix-patches via
2024-12-20 17:35 ` [bug#74997] [PATCH 2/5] import: texlive: Remove guix-name Herman Rimm via Guix-patches via
2024-12-20 17:35 ` [bug#74997] [PATCH 3/5] import: utils: Move downstream-package-name to (guix utils) Herman Rimm via Guix-patches via
2024-12-20 17:35 ` Herman Rimm via Guix-patches via [this message]
2024-12-20 17:35 ` [bug#74997] [PATCH 5/5] gnu: u-boot: Use downstream-package-name Herman Rimm via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e494e0e477473230de3ca7fbac90e1527dd081c2.1734715617.git.herman@rimm.ee \
--to=guix-patches@gnu.org \
--cc=74997@debbugs.gnu.org \
--cc=efraim@flashner.co.il \
--cc=herman@rimm.ee \
--cc=vagrant@debian.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).