guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 29/87: gnu: Add %boot-tcc-musl-inputs.
Date: Mon, 13 Jan 2025 04:37:24 -0500 (EST)

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

commit e419d704a5f7274409f65f7eafec0b292c0174a3
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 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

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