about summary refs log tree commit diff
path: root/pkgs/misc/uboot
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2017-12-23 02:19:13 +0100
committerTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2017-12-23 03:51:12 +0200
commit8a844db5fc54693f2ada59d3c987d6354edc227c (patch)
tree272a171508e1e96e1edb8b1e7d9826e7290ad44b /pkgs/misc/uboot
parent027d7bbb71b28d30753d120832d9932e96fb3137 (diff)
downloadnixlib-8a844db5fc54693f2ada59d3c987d6354edc227c.tar
nixlib-8a844db5fc54693f2ada59d3c987d6354edc227c.tar.gz
nixlib-8a844db5fc54693f2ada59d3c987d6354edc227c.tar.bz2
nixlib-8a844db5fc54693f2ada59d3c987d6354edc227c.tar.lz
nixlib-8a844db5fc54693f2ada59d3c987d6354edc227c.tar.xz
nixlib-8a844db5fc54693f2ada59d3c987d6354edc227c.tar.zst
nixlib-8a844db5fc54693f2ada59d3c987d6354edc227c.zip
ubootTools: set CONFIG_ARCH_MVEBU=y
u-boot only builds some architecture-specific tools, if this
architecture is selected in configuration. So a 'allnoconfig' won't
include them.

As they are pretty useful however, we'd like to have them in ubootTools.
This can be accomplished by enabling CONFIG_KIRKWOOD=y and possibly
more later.
Diffstat (limited to 'pkgs/misc/uboot')
-rw-r--r--pkgs/misc/uboot/default.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix
index 18502577e3af..f93b45a2a6b9 100644
--- a/pkgs/misc/uboot/default.nix
+++ b/pkgs/misc/uboot/default.nix
@@ -90,7 +90,15 @@ in rec {
     buildFlags = "tools NO_SDL=1";
     dontStrip = false;
     targetPlatforms = stdenv.lib.platforms.linux;
-    filesToInstall = ["tools/dumpimage" "tools/mkenvimage" "tools/mkimage"];
+    # build tools/kwboot
+    extraMakeFlags = [ "CONFIG_KIRKWOOD=y" ];
+    filesToInstall = [
+      "tools/dumpimage"
+      "tools/fdtgrep"
+      "tools/kwboot"
+      "tools/mkenvimage"
+      "tools/mkimage"
+    ];
   };
 
   ubootA20OlinuxinoLime = buildUBoot rec {