buildUBoot: specify absolute path of dtc, fix building u-boot 2023.10+

This commit is contained in:
Nick Cao 2023-12-31 22:17:19 -05:00 committed by Yureka
parent ccea76c72d
commit 2424c8db9d

View file

@ -77,7 +77,6 @@ let
ncurses # tools/kwboot
bc
bison
dtc
flex
installShellFiles
(buildPackages.python3.withPackages (p: [
@ -96,7 +95,7 @@ let
enableParallelBuilding = true;
makeFlags = [
"DTC=dtc"
"DTC=${lib.getExe buildPackages.dtc}"
"CROSS_COMPILE=${stdenv.cc.targetPrefix}"
] ++ extraMakeFlags;