summary refs log tree commit diff
path: root/pkgs/misc
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2022-05-09 14:58:51 +0200
committerGitHub <noreply@github.com>2022-05-09 14:58:51 +0200
commit7814586dfa669cb49dc9f75886552dfd4827cad7 (patch)
treeb02dcdf01e9447c46069919a86f2bd38594ec561 /pkgs/misc
parentaf2ea9a4e12989cbc5ca1026cbcb367583045a26 (diff)
parent34724f221eedda583e063154799531ea80fb0c3d (diff)
downloadnixpkgs-7814586dfa669cb49dc9f75886552dfd4827cad7.tar
nixpkgs-7814586dfa669cb49dc9f75886552dfd4827cad7.tar.gz
nixpkgs-7814586dfa669cb49dc9f75886552dfd4827cad7.tar.bz2
nixpkgs-7814586dfa669cb49dc9f75886552dfd4827cad7.tar.lz
nixpkgs-7814586dfa669cb49dc9f75886552dfd4827cad7.tar.xz
nixpkgs-7814586dfa669cb49dc9f75886552dfd4827cad7.tar.zst
nixpkgs-7814586dfa669cb49dc9f75886552dfd4827cad7.zip
Merge pull request #172049 from zhaofengli/uboot-riscv64-zicsr
ubootQemuRiscv64Smode: Fix build with binutils 2.38
Diffstat (limited to 'pkgs/misc')
-rw-r--r--pkgs/misc/uboot/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix
index d6e5e8a7bcb..fc874e3d3a8 100644
--- a/pkgs/misc/uboot/default.nix
+++ b/pkgs/misc/uboot/default.nix
@@ -362,6 +362,13 @@ in {
 
   ubootQemuRiscv64Smode = buildUBoot {
     defconfig = "qemu-riscv64_smode_defconfig";
+    extraPatches = [
+      # https://patchwork.ozlabs.org/project/uboot/patch/20220128134713.2322800-1-alexandre.ghiti@canonical.com/
+      (fetchpatch {
+        url = "https://patchwork.ozlabs.org/series/283391/mbox/";
+        sha256 = "sha256-V0jDpx6O4bFzuaOQejdrRnLiWb5LBTx47T0TZqNtMXk=";
+      })
+    ];
     extraMeta.platforms = ["riscv64-linux"];
     filesToInstall = ["u-boot.bin"];
   };