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)
 | 
			
		||||
       ((#: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"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue