From 8a844db5fc54693f2ada59d3c987d6354edc227c Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Sat, 23 Dec 2017 02:19:13 +0100 Subject: [PATCH] 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. --- pkgs/misc/uboot/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 {