uboot: add extraMakeFlags option

authored by Florian Klink and committed by Tuomas Tynkkynen 027d7bbb 1a1ade61

+2 -1
+2 -1
pkgs/misc/uboot/default.nix
··· 7 7 , filesToInstall 8 8 , installDir ? "$out" 9 9 , defconfig 10 + , extraMakeFlags ? [] 10 11 , extraMeta ? {} 11 12 , ... } @ args: 12 13 stdenv.mkDerivation (rec { ··· 46 47 47 48 hardeningDisable = [ "all" ]; 48 49 49 - makeFlags = [ "DTC=dtc" ]; 50 + makeFlags = [ "DTC=dtc" ] ++ extraMakeFlags; 50 51 51 52 configurePhase = '' 52 53 make ${defconfig}