guix-commits
[Top][All Lists]
Advanced

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

02/02: gnu: axoloti-runtime: Simplify build.


From: guix-commits
Subject: 02/02: gnu: axoloti-runtime: Simplify build.
Date: Thu, 8 Apr 2021 04:13:01 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit bb4f47a7f614eea78a8c8a0d3e5fc55bf4e52646
Author: Morgan Smith <Morgan.J.Smith@outlook.com>
AuthorDate: Wed Apr 7 14:14:56 2021 -0400

    gnu: axoloti-runtime: Simplify build.
    
    * gnu/packages/axoloti.scm (axoloti-runtime)[arguments]: Remove
    unnecessary environment variable assignments in custom 'build phase.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/axoloti.scm | 13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/gnu/packages/axoloti.scm b/gnu/packages/axoloti.scm
index 3049051..0b12e4f 100644
--- a/gnu/packages/axoloti.scm
+++ b/gnu/packages/axoloti.scm
@@ -147,18 +147,7 @@
          (delete 'configure)
          (replace 'build
            ;; Build Axoloti firmware with cross-compiler
-           (lambda* (#:key inputs #:allow-other-keys)
-             (let* ((toolchain (assoc-ref inputs "cross-toolchain"))
-                    (headers   (string-append
-                                toolchain
-                                "/arm-none-eabi/include:"
-                                toolchain
-                                
"/arm-none-eabi/include/arm-none-eabi/armv7e-m")))
-               (setenv "CROSS_CPATH" headers)
-               (setenv "CROSS_CPLUS_INCLUDE_PATH" headers)
-               (setenv "CROSS_LIBRARY_PATH"
-                       (string-append toolchain
-                                      "/arm-none-eabi/lib")))
+           (lambda _
              (with-directory-excursion "platform_linux"
                (invoke "sh" "compile_firmware.sh"))))
          (replace 'install



reply via email to

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