From 1e7bb272e14ad362dccce242c261b74d796d5de5 Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Mon, 5 Dec 2016 02:17:41 +0200 Subject: [PATCH] U-Boot: Add platforms to legacy U-Boots Or they will be tried to be built on x86_64 since #19990. --- pkgs/misc/uboot/guruplug.nix | 4 ++++ pkgs/misc/uboot/nanonote.nix | 4 ++++ pkgs/misc/uboot/sheevaplug.nix | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/pkgs/misc/uboot/guruplug.nix b/pkgs/misc/uboot/guruplug.nix index 258ba999bf8..9f24f1da86a 100644 --- a/pkgs/misc/uboot/guruplug.nix +++ b/pkgs/misc/uboot/guruplug.nix @@ -50,4 +50,8 @@ stdenv.mkDerivation { mkdir -p $out/bin cp tools/{envcrc,mkimage} $out/bin ''; + + meta = { + platforms = [ "armv5tel-linux" ]; + }; } diff --git a/pkgs/misc/uboot/nanonote.nix b/pkgs/misc/uboot/nanonote.nix index 8b2de80c79b..2783927ef57 100644 --- a/pkgs/misc/uboot/nanonote.nix +++ b/pkgs/misc/uboot/nanonote.nix @@ -57,4 +57,8 @@ stdenv.mkDerivation { mkdir -p $out/bin cp tools/{envcrc,mkimage} $out/bin ''; + + meta = { + platforms = [ "mipsel-linux" ]; + }; } diff --git a/pkgs/misc/uboot/sheevaplug.nix b/pkgs/misc/uboot/sheevaplug.nix index 4d4f61c40a7..53d811d1a44 100644 --- a/pkgs/misc/uboot/sheevaplug.nix +++ b/pkgs/misc/uboot/sheevaplug.nix @@ -54,4 +54,8 @@ stdenv.mkDerivation { mkdir -p $out/bin cp tools/{envcrc,mkimage} $out/bin ''; + + meta = { + platforms = [ "armv5tel-linux" ]; + }; }