From 027d7bbb71b28d30753d120832d9932e96fb3137 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Sat, 23 Dec 2017 02:19:01 +0100 Subject: [PATCH] uboot: add extraMakeFlags option --- pkgs/misc/uboot/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix index 7580fd9d5bb9..18502577e3af 100644 --- a/pkgs/misc/uboot/default.nix +++ b/pkgs/misc/uboot/default.nix @@ -7,6 +7,7 @@ let , filesToInstall , installDir ? "$out" , defconfig + , extraMakeFlags ? [] , extraMeta ? {} , ... } @ args: stdenv.mkDerivation (rec { @@ -46,7 +47,7 @@ let hardeningDisable = [ "all" ]; - makeFlags = [ "DTC=dtc" ]; + makeFlags = [ "DTC=dtc" ] ++ extraMakeFlags; configurePhase = '' make ${defconfig}