gnu: openocd: Use INVOKE.
* gnu/packages/embedded.scm (openocd)[arguments]: Use INVOKE and return #T unconditionally.
This commit is contained in:
		
							parent
							
								
									4cd6ab1b1f
								
							
						
					
					
						commit
						867d9de690
					
				
					 1 changed files with 4 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -398,9 +398,9 @@ language.")
 | 
			
		|||
                      "presto" "openjtag")))
 | 
			
		||||
       #:phases
 | 
			
		||||
       (modify-phases %standard-phases
 | 
			
		||||
         ;; Required because of patched sources.
 | 
			
		||||
         (add-before 'configure 'autoreconf
 | 
			
		||||
           (lambda _
 | 
			
		||||
             (zero? (system* "autoreconf" "-vfi"))))
 | 
			
		||||
           (lambda _ (invoke "autoreconf" "-vfi") #t))
 | 
			
		||||
         (add-after 'autoreconf 'change-udev-group
 | 
			
		||||
           (lambda _
 | 
			
		||||
             (substitute* "contrib/60-openocd.rules"
 | 
			
		||||
| 
						 | 
				
			
			@ -411,7 +411,8 @@ language.")
 | 
			
		|||
             (install-file "contrib/60-openocd.rules"
 | 
			
		||||
                           (string-append
 | 
			
		||||
                            (assoc-ref outputs "out")
 | 
			
		||||
                            "/lib/udev/rules.d/")))))))
 | 
			
		||||
                            "/lib/udev/rules.d/"))
 | 
			
		||||
             #t)))))
 | 
			
		||||
    (home-page "http://openocd.org")
 | 
			
		||||
    (synopsis "On-Chip Debugger")
 | 
			
		||||
    (description "OpenOCD provides on-chip programming and debugging support
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue