uboot: add extraMakeFlags option
This commit is contained in:
parent
1a1ade6160
commit
027d7bbb71
@ -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}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user