summaryrefslogtreecommitdiffstats
path: root/pkgs/misc/uboot
diff options
context:
space:
mode:
authorZhaofeng Li <hello@zhaofeng.li>2022-05-08 01:31:06 -0700
committerZhaofeng Li <hello@zhaofeng.li>2022-05-08 02:46:32 -0700
commit34724f221eedda583e063154799531ea80fb0c3d (patch)
tree99fe83a687adc1f18996898f198f0eb0beeda66f /pkgs/misc/uboot
parent2ddfd7e81bf47cc31257b58dbc0525e0cc50e2a6 (diff)
ubootQemuRiscv64Smode: Fix build with binutils 2.38
Diffstat (limited to 'pkgs/misc/uboot')
-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 d6e5e8a7bcb0..fc874e3d3a8e 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"];
};