uboot: add extraMakeFlags option

This commit is contained in:
Florian Klink 2017-12-23 02:19:01 +01:00 committed by Tuomas Tynkkynen
parent 1a1ade6160
commit 027d7bbb71

View File

@ -7,6 +7,7 @@ let
, filesToInstall , filesToInstall
, installDir ? "$out" , installDir ? "$out"
, defconfig , defconfig
, extraMakeFlags ? []
, extraMeta ? {} , extraMeta ? {}
, ... } @ args: , ... } @ args:
stdenv.mkDerivation (rec { stdenv.mkDerivation (rec {
@ -46,7 +47,7 @@ let
hardeningDisable = [ "all" ]; hardeningDisable = [ "all" ];
makeFlags = [ "DTC=dtc" ]; makeFlags = [ "DTC=dtc" ] ++ extraMakeFlags;
configurePhase = '' configurePhase = ''
make ${defconfig} make ${defconfig}