guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/03: gnu: raspi-arm-chainloader: Install arm_chainloader.bin.


From: guix-commits
Subject: 02/03: gnu: raspi-arm-chainloader: Install arm_chainloader.bin.
Date: Thu, 29 Oct 2020 10:30:03 -0400 (EDT)

dannym pushed a commit to branch master
in repository guix.

commit b522686ee4b449189fc382cbc67706307230d549
Author: Danny Milosavljevic <dannym@scratchpost.org>
AuthorDate: Thu Oct 29 15:27:22 2020 +0100

    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.
---
 gnu/packages/raspberry-pi.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/raspberry-pi.scm b/gnu/packages/raspberry-pi.scm
index 0e58d3b..b0362b4 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"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]