gnu: sdcc: Build sdcdb debugger.

* gnu/packages/embedded.scm (sdcc)[arguments]<phases>: Add sdcc-misc target.
This commit is contained in:
Jelle Licht 2021-05-14 22:54:47 +02:00
parent 4261c15a96
commit e4beaa7c8a
No known key found for this signature in database
GPG key ID: DA4597F947B41025

View file

@ -1547,6 +1547,12 @@ (define-public sdcc
(lambda _
(substitute* (find-files "." "(\\.mk$|\\.in$)")
(("/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)))))
(home-page "http://sdcc.sourceforge.net")
(synopsis "C compiler suite for 8-bit microcontrollers")