about summary refs log tree commit diff
path: root/pkgs/stdenv/linux/make-bootstrap-tools-cross.nix
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2023-10-01 02:42:49 +0300
committerArtturin <Artturin@artturin.com>2023-10-03 23:34:40 +0300
commit1270ef59e9aa2a2161c1e84779687a2c7a10c815 (patch)
tree6ab4be62926dbb07edd4084ebcb9bf3e4ef9774f /pkgs/stdenv/linux/make-bootstrap-tools-cross.nix
parentb56f06f3e8c6f48973a43765f4b02c756ba30da4 (diff)
bootstrap-tools-cross: Rename bootstrap file jobs to be more descriptive
Rename files in `bootstrap-files/` to match jobs in `make-bootstrap-tools-cross`.

Should make automating the bootstrap files easier.

```nix
$ nix repl --file ./pkgs/top-level/release-cross.nix
nix-repl> bootstrapTools
{ aarch64-unknown-linux-gnu = { ... }; aarch64-unknown-linux-musl = { ... }; armv5tel-unknown-linux-gnueabi = { ... }; armv6l-unknown-linux-gnueabihf = { ... }; armv6l-unknown-linux-musleabihf = { ... }; armv7l-unknown-linux-gnueabihf = { ... }; mips64el-unknown-linux-gnuabi64 = {... }; mips64el-unknown-linux-gnuabin32 = { ... }; mipsel-unknown-linux-gnu = { ... }; powerpc64le-unknown-linux-gnu = { ... }; riscv64-unknown-linux-gnu = { ... }; x86_64-unknown-linux-musl = { ... }; }
```

Additionally if non-linux bootstrap files are added to
`make-bootstrap-tools-cross` then there won't be any renaming needed.
Diffstat (limited to 'pkgs/stdenv/linux/make-bootstrap-tools-cross.nix')
-rw-r--r--pkgs/stdenv/linux/make-bootstrap-tools-cross.nix24
1 files changed, 12 insertions, 12 deletions
diff --git a/pkgs/stdenv/linux/make-bootstrap-tools-cross.nix b/pkgs/stdenv/linux/make-bootstrap-tools-cross.nix
index b5e1b6c7a4718..124575af68881 100644
--- a/pkgs/stdenv/linux/make-bootstrap-tools-cross.nix
+++ b/pkgs/stdenv/linux/make-bootstrap-tools-cross.nix
@@ -15,18 +15,18 @@ in lib.mapAttrs (n: make) (with lib.systems.examples; {
   # NOTE: Only add platforms for which there are files in `./bootstrap-files`.
   # Sort following the sorting in `./default.nix` `bootstrapFiles` argument.
 
-  armv5tel   = sheevaplug;
-  armv6l     = raspberryPi;
-  armv7l     = armv7l-hf-multiplatform;
-  aarch64    = aarch64-multiplatform;
-  mipsel-linux-gnu         = mipsel-linux-gnu;
-  mips64el-linux-gnuabin32 = mips64el-linux-gnuabin32;
-  mips64el-linux-gnuabi64  = mips64el-linux-gnuabi64;
-  powerpc64le = powernv;
-  riscv64 = riscv64;
+  armv5tel-unknown-linux-gnueabi = sheevaplug;
+  armv6l-unknown-linux-gnueabihf = raspberryPi;
+  armv7l-unknown-linux-gnueabihf = armv7l-hf-multiplatform;
+  aarch64-unknown-linux-gnu = aarch64-multiplatform;
+  mipsel-unknown-linux-gnu = mipsel-linux-gnu;
+  mips64el-unknown-linux-gnuabin32 = mips64el-linux-gnuabin32;
+  mips64el-unknown-linux-gnuabi64 = mips64el-linux-gnuabi64;
+  powerpc64le-unknown-linux-gnu = powernv;
+  riscv64-unknown-linux-gnu = riscv64;
 
   # musl
-  aarch64-musl = aarch64-multiplatform-musl;
-  armv6l-musl  = muslpi;
-  x86_64-musl  = musl64;
+  aarch64-unknown-linux-musl = aarch64-multiplatform-musl;
+  armv6l-unknown-linux-musleabihf = muslpi;
+  x86_64-unknown-linux-musl = musl64;
 })