Subject: Subject: [PATCH 1/2] gnu: allow more cross target

From: 路辉 <[email-masked]>
Date: Sat, 18 Feb 2023 08:30:36 +0000

>From 836c0e3e7112d5f3d3630aebfbabbd45242eb216 Mon Sep 17 00:00:00 2001
From: LuHui <[email-masked]>
Date: Sat, 18 Feb 2023 16:18:52 +0800
Subject: [PATCH 1/2] gnu: allow more cross target

* gnu/packages/bootstrap.scm: add mips and riscv target.
---
 gnu/packages/bootstrap.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm
index 75980f2148..f6b92a2aaa 100644
--- a/gnu/packages/bootstrap.scm
+++ b/gnu/packages/bootstrap.scm
@@ -7,6 +7,7 @@
 ;;; Copyright © 2019 Léo Le Bouter <[email-masked]>
 ;;; Copyright © 2020 Jakub Kądziołka <[email-masked]>
 ;;; Copyright © 2021 Chris Marusich <[email-masked]>
+;;; Copyright © 2023 Lu Hui <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -329,6 +330,12 @@ (define* (glibc-dynamic-linker
      ;; here just so we can keep going.
      ((string=? system "arm-elf") "no-ld.so")
      ((string=? system "arm-eabi") "no-ld.so")
+     ((string=? system "mips-elf") "no-ld.so")
+     ((string=? system "mipsel-elf") "no-ld.so")
+     ((string=? system "mips64-elf") "no-ld.so")
+     ((string=? system "mips64el-elf") "no-ld.so")
+     ((string=? system "riscv32-elf") "no-ld.so")
+     ((string=? system "riscv64-elf") "no-ld.so")
      ((string=? system "xtensa-elf") "no-ld.so")
      ((string=? system "avr") "no-ld.so")
      ((string=? system "propeller-elf") "no-ld.so")
-- 
2.39.1