arm-trusted-firmware: tell Makefile abt arm-embedded's targetPrefix
Some of the firmware requires an arm-embedded toolchain to be in PATH. The Makefile offers a similar mechanism to CROSS_COMPILE for letting it know what naming scheme is used for the accompanying tools.
This commit is contained in:
parent
2fa0422405
commit
994fcd68b9
1 changed files with 1 additions and 0 deletions
|
@ -53,6 +53,7 @@ let
|
|||
|
||||
makeFlags = [
|
||||
"HOSTCC=$(CC_FOR_BUILD)"
|
||||
"M0_CROSS_COMPILE=${pkgsCross.arm-embedded.stdenv.cc.targetPrefix}"
|
||||
"CROSS_COMPILE=${stdenv.cc.targetPrefix}"
|
||||
# binutils 2.39 regression
|
||||
# `warning: /build/source/build/rk3399/release/bl31/bl31.elf has a LOAD segment with RWX permissions`
|
||||
|
|
Loading…
Reference in a new issue