File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 2525 sha256 = "sha256-96EddJXlFEkP/LIGVgNBvUP4IDI3BbDE/c9Yub22gnc=" ;
2626 } ;
2727
28- extraMakeFlags = lib . concatLists [
29- ( lib . optional ( lib . versionAtLeast pkgs . binutils . version "2.39" ) "LDFLAGS=--no-warn-rwx-segments" )
30- [ "PLAT=${ platform } " "bl31" "${ opteedflag } " ]
31- ] ;
28+ makeFlags = [
29+ "HOSTCC=$(CC_FOR_BUILD)"
30+ "M0_CROSS_COMPILE=arm-none-eabi-"
31+ "CROSS_COMPILE=aarch64-unknown-linux-gnu-"
32+ # binutils 2.39 regression
33+ # `warning: /build/source/build/rk3399/release/bl31/bl31.elf has a LOAD segment with RWX permissions`
34+ # See also: https://developer.trustedfirmware.org/T996
35+ "LDFLAGS=-no-warn-rwx-segments"
36+ "PLAT=${ platform } " "bl31" "${ opteedflag } "
37+ ] ;
3238
3339 filesToInstall = [ "build/${ target-board } /release/bl31.bin" ] ;
3440 }
You can’t perform that action at this time.
0 commit comments