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 @@ Virtual Machines.  OVMF contains a sample UEFI firmware for QEMU and KVM.") | ||||||
|      (substitute-keyword-arguments (package-arguments ovmf) |      (substitute-keyword-arguments (package-arguments ovmf) | ||||||
|        ((#:phases phases) |        ((#:phases phases) | ||||||
|         #~(modify-phases #$phases |         #~(modify-phases #$phases | ||||||
|             (add-before 'configure 'set-env |             #$@(if (string-prefix? "armhf" (%current-system)) | ||||||
|               (lambda _ |                    '() | ||||||
|                 #$@(if (not (string-prefix? "armhf" (%current-system))) |                    '((add-before 'configure 'set-env | ||||||
|                        #~((setenv "GCC49_ARM_PREFIX" "arm-linux-gnueabihf-")) |                        (lambda _ | ||||||
|                        #~()))) |                          (setenv "GCC49_ARM_PREFIX" "arm-linux-gnueabihf-"))))) | ||||||
|             (replace 'build |             (replace 'build | ||||||
|               (lambda _ |               (lambda _ | ||||||
|                 (invoke "build" "-a" "ARM" "-t" "GCC49" |                 (invoke "build" "-a" "ARM" "-t" "GCC49" | ||||||
|  |  | ||||||
		Reference in a new issue