[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#44750] [PATCH v5 2/2] gnu: axoloti-runtime: Simplify build
From: |
Morgan . J . Smith |
Subject: |
[bug#44750] [PATCH v5 2/2] gnu: axoloti-runtime: Simplify build |
Date: |
Wed, 7 Apr 2021 15:09:47 -0400 |
From: Morgan Smith <Morgan.J.Smith@outlook.com>
* gnu/packages/axoloti.scm (axoloti-runtime)[arguments][phases][build]: Remove
unnecessary environment variable assignments
---
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 3049051486..0b12e4fe29 100644
--- a/gnu/packages/axoloti.scm
+++ b/gnu/packages/axoloti.scm
@@ -147,18 +147,7 @@ (define-public axoloti-runtime
(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
--
2.31.1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug#44750] [PATCH v5 2/2] gnu: axoloti-runtime: Simplify build,
Morgan . J . Smith <=