guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: sdcc: Build sdcdb debugger.


From: guix-commits
Subject: 02/02: gnu: sdcc: Build sdcdb debugger.
Date: Fri, 14 May 2021 17:14:25 -0400 (EDT)

jlicht pushed a commit to branch master
in repository guix.

commit e4beaa7c8a71f4fdfe1948a3d96e5214407b7e49
Author: Jelle Licht <jlicht@fsfe.org>
AuthorDate: Fri May 14 22:54:47 2021 +0200

    gnu: sdcc: Build sdcdb debugger.
    
    * gnu/packages/embedded.scm (sdcc)[arguments]<phases>: Add sdcc-misc target.
---
 gnu/packages/embedded.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
index 73342ae..901afba 100644
--- a/gnu/packages/embedded.scm
+++ b/gnu/packages/embedded.scm
@@ -1547,6 +1547,12 @@ and Zilog Z80 families, plus many of their variants.")
            (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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]