mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
gnu: ovmf-arm: Fix syntax error on armhf-linux.
* gnu/packages/firmware.scm (ovmf-arm)[arguments]: Don't add an empty set-env phase when building for armhf-linux.
This commit is contained in:
parent
2a93b66882
commit
ffb9813aee
1 changed files with 5 additions and 5 deletions
|
@ -926,11 +926,11 @@ (define-public ovmf-arm
|
|||
(substitute-keyword-arguments (package-arguments ovmf)
|
||||
((#:phases phases)
|
||||
#~(modify-phases #$phases
|
||||
(add-before 'configure 'set-env
|
||||
(lambda _
|
||||
#$@(if (not (string-prefix? "armhf" (%current-system)))
|
||||
#~((setenv "GCC49_ARM_PREFIX" "arm-linux-gnueabihf-"))
|
||||
#~())))
|
||||
#$@(if (string-prefix? "armhf" (%current-system))
|
||||
'()
|
||||
'((add-before 'configure 'set-env
|
||||
(lambda _
|
||||
(setenv "GCC49_ARM_PREFIX" "arm-linux-gnueabihf-")))))
|
||||
(replace 'build
|
||||
(lambda _
|
||||
(invoke "build" "-a" "ARM" "-t" "GCC49"
|
||||
|
|
Loading…
Reference in a new issue