mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 22:50:23 -05:00
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 @@ (define-public openocd
|
||||||
"presto" "openjtag")))
|
"presto" "openjtag")))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
;; Required because of patched sources.
|
||||||
(add-before 'configure 'autoreconf
|
(add-before 'configure 'autoreconf
|
||||||
(lambda _
|
(lambda _ (invoke "autoreconf" "-vfi") #t))
|
||||||
(zero? (system* "autoreconf" "-vfi"))))
|
|
||||||
(add-after 'autoreconf 'change-udev-group
|
(add-after 'autoreconf 'change-udev-group
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "contrib/60-openocd.rules"
|
(substitute* "contrib/60-openocd.rules"
|
||||||
|
@ -411,7 +411,8 @@ (define-public openocd
|
||||||
(install-file "contrib/60-openocd.rules"
|
(install-file "contrib/60-openocd.rules"
|
||||||
(string-append
|
(string-append
|
||||||
(assoc-ref outputs "out")
|
(assoc-ref outputs "out")
|
||||||
"/lib/udev/rules.d/")))))))
|
"/lib/udev/rules.d/"))
|
||||||
|
#t)))))
|
||||||
(home-page "http://openocd.org")
|
(home-page "http://openocd.org")
|
||||||
(synopsis "On-Chip Debugger")
|
(synopsis "On-Chip Debugger")
|
||||||
(description "OpenOCD provides on-chip programming and debugging support
|
(description "OpenOCD provides on-chip programming and debugging support
|
||||||
|
|
Loading…
Reference in a new issue