gnu: raspi-arm-chainloader: Install arm_chainloader.bin.

* gnu/packages/raspberry-pi.scm (raspi-arm-chainloader)[arguments]<#:phases>[setenv]: Add objcopy.
[install]: Install arm_chainloader.bin.
This commit is contained in:
Danny Milosavljevic 2020-10-29 15:27:22 +01:00
parent 7abe768ec1
commit b522686ee4
No known key found for this signature in database
GPG Key ID: E71A35542C30BAA5

View File

@ -120,6 +120,7 @@ used in the Raspberry Pi")
(setenv "CC" "arm-none-eabi-gcc")
(setenv "CXX" "arm-none-eabi-g++")
(setenv "AS" "arm-none-eabi-as")
(setenv "OBJCOPY" "arm-none-eabi-objcopy")
(setenv "BAREMETAL" "1")
#t))
(add-after 'setenv 'build-tlsf
@ -154,6 +155,7 @@ used in the Raspberry Pi")
(mkdir-p libexec)
(install-file "build/arm_chainloader.elf" libexec)
(install-file "build/arm_chainloader.map" libexec)
(install-file "build/arm_chainloader.bin" libexec)
#t))))))
(native-inputs
`(("binutils" ,(cross-binutils "arm-none-eabi"))