aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2020-10-29 15:27:22 +0100
committerDanny Milosavljevic <dannym@scratchpost.org>2020-10-29 15:27:22 +0100
commitb522686ee4b449189fc382cbc67706307230d549 (patch)
tree4f2d468f1497eeaeda427d1beaf2c1d0e8e88337
parent7abe768ec12b9a195d4b24167dc7989391959b22 (diff)
downloadguix-b522686ee4b449189fc382cbc67706307230d549.tar
guix-b522686ee4b449189fc382cbc67706307230d549.tar.gz
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.
-rw-r--r--gnu/packages/raspberry-pi.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/packages/raspberry-pi.scm b/gnu/packages/raspberry-pi.scm
index 0e58d3b780..b0362b4921 100644
--- a/gnu/packages/raspberry-pi.scm
+++ b/gnu/packages/raspberry-pi.scm
@@ -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"))