guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

29/60: gnu: Add %boot-tcc-musl-inputs.


From: guix-commits
Subject: 29/60: gnu: Add %boot-tcc-musl-inputs.
Date: Sun, 24 Nov 2024 02:50:13 -0500 (EST)

efraim pushed a commit to branch wip-riscv-bootstrap
in repository guix.

commit dd8728851fd4aaac5a920c971f36ea45659d38bc
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Oct 7 17:04:24 2024 +0300

    gnu: Add %boot-tcc-musl-inputs.
    
    * gnu/packages/commencement.scm (%boot-tcc-musl-inputs): New variable.
    
    Change-Id: I65673183f284808ec8337dbdfa50678f21c28cd8
---
 gnu/packages/commencement.scm | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 06bc3e7c28..4bb3f8f9b0 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -1161,6 +1161,17 @@ MesCC-Tools), and finally M2-Planet.")
                (string-append "--build=" #$(commencement-build-target))
                (string-append "--host=" #$(commencement-build-target)))))))
 
+(define (%boot-tcc-musl-inputs)
+  ;; Adjust the naming so that we can more easily swap for their counterparts
+  ;; later in the bootstrap chain.
+  `(("gcc" ,tcc-musl)
+    ("binutils" ,binutils-muslboot0)
+    ("kernel-headers" ,%bootstrap-linux-libre-headers)
+    ("libc" ,musl-boot0)
+    ("bash" ,oksh-muslboot0)
+    ,@(fold alist-delete (%boot-tcc-inputs)
+            '("bash" "tcc"))))
+
 (define binutils-mesboot0
   ;; The initial Binutils
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]