me
/
guix
Archived
1
0
Fork 0

gnu: raspi-arm64-chainloader: Install arm64.bin.

* gnu/packages/raspberry-pi.scm (raspi-arm64-chainloader)[arguments]<#:phases>[setenv]: Add objcopy.
[install]: Install arm64.bin.
master
Danny Milosavljevic 2020-10-29 15:25:40 +01:00
parent 2ea99f4e84
commit 7abe768ec1
No known key found for this signature in database
GPG Key ID: E71A35542C30BAA5
1 changed files with 3 additions and 1 deletions

View File

@ -190,6 +190,7 @@ Raspberry Pi. Note: It does not work on Raspberry Pi 1.")
(replace 'setenv
(lambda _
(setenv "AS" "as") ; TODO: as-for-target
(setenv "OBJCOPY" "objcopy")
(setenv "CC" ,(cc-for-target))
(setenv "CXX" ,(cc-for-target))
(setenv "BAREMETAL" "1")
@ -229,5 +230,6 @@ Raspberry Pi. Note: It does not work on Raspberry Pi 1.")
(libexec (string-append out "/libexec")))
(mkdir-p libexec)
(install-file "arm64.elf" libexec)
(install-file "arm64.map" libexec)))))))))
(install-file "arm64.map" libexec)
(install-file "arm64.bin" libexec)))))))))
(supported-systems '("aarch64-linux"))))