mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: sdcc: Build sdcdb debugger.
* gnu/packages/embedded.scm (sdcc)[arguments]<phases>: Add sdcc-misc target.
This commit is contained in:
parent
4261c15a96
commit
e4beaa7c8a
1 changed files with 6 additions and 0 deletions
|
@ -1547,6 +1547,12 @@ (define-public sdcc
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* (find-files "." "(\\.mk$|\\.in$)")
|
(substitute* (find-files "." "(\\.mk$|\\.in$)")
|
||||||
(("/bin/sh") (which "sh")))
|
(("/bin/sh") (which "sh")))
|
||||||
|
;; --disable-ucsim disables sdcc-misc, patch it back in.
|
||||||
|
(substitute* "Makefile.in"
|
||||||
|
(("debugger/mcs51" line)
|
||||||
|
(string-append line "\n"
|
||||||
|
"TARGETS += sdcc-misc\n"
|
||||||
|
"PKGS += $(SDCC_MISC)")))
|
||||||
#t)))))
|
#t)))))
|
||||||
(home-page "http://sdcc.sourceforge.net")
|
(home-page "http://sdcc.sourceforge.net")
|
||||||
(synopsis "C compiler suite for 8-bit microcontrollers")
|
(synopsis "C compiler suite for 8-bit microcontrollers")
|
||||||
|
|
Loading…
Reference in a new issue