diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2022-05-09 14:58:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-09 14:58:51 +0200 |
commit | 7814586dfa669cb49dc9f75886552dfd4827cad7 (patch) | |
tree | b02dcdf01e9447c46069919a86f2bd38594ec561 /pkgs/misc | |
parent | af2ea9a4e12989cbc5ca1026cbcb367583045a26 (diff) | |
parent | 34724f221eedda583e063154799531ea80fb0c3d (diff) | |
download | nixpkgs-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.nix | 7 |
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"]; }; |