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

commit 0b70ac39d00ee3355520298ce1bc19be25200ac9
Author: Efraim Flashner <efr...@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 41d89b7211..e0a40643c5 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