gnu: sdcc: Adjust format.
* gnu/packages/embedded.scm (sdcc): Move arguments above inputs; punctuate comments consistently. [arguments]<#:configure-flags>: Move comment regarding GPUTILS to associated flags; add comment for "--disable-ucsim". [home-page]: Add trailing slash to URL. Signed-off-by: Christopher Baines <mail@cbaines.net>master
parent
76c4ecc2dd
commit
5605e4db17
|
@ -1649,24 +1649,26 @@ PicoBlaze; and Zilog Z80 families, plus many of their variants.")
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
#~(begin
|
#~(begin
|
||||||
;; Remove non-free source files
|
;; Remove non-free source files.
|
||||||
(delete-file-recursively "device/non-free")
|
(delete-file-recursively "device/non-free")
|
||||||
;; Remove bundled μCsim source
|
;; Remove bundled μCsim source.
|
||||||
(delete-file-recursively "sim")))
|
(delete-file-recursively "sim")))
|
||||||
(patches (search-patches "sdcc-disable-non-free-code.patch"))))
|
(patches (search-patches "sdcc-disable-non-free-code.patch"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(inputs
|
|
||||||
(list readline))
|
|
||||||
(native-inputs
|
|
||||||
(list bison boost flex python-2 texinfo zlib))
|
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
;; GPUTILS is required for the PIC ports, but the licensing status of
|
|
||||||
;; some of the files contained in its distribution is unclear (see
|
|
||||||
;; https://issues.guix.gnu.org/44557). For this reason it is not yet
|
|
||||||
;; available as a package in Guix.
|
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
#~(list "--disable-pic14-port" "--disable-pic16-port" "--disable-ucsim")
|
#~(list
|
||||||
|
;; GPUTILS is required for the PIC ports, but the licensing status of
|
||||||
|
;; some of the files contained in its distribution is unclear (see
|
||||||
|
;; https://issues.guix.gnu.org/44557). For this reason it is not yet
|
||||||
|
;; available as a package in Guix.
|
||||||
|
"--disable-pic14-port"
|
||||||
|
"--disable-pic16-port"
|
||||||
|
|
||||||
|
;; Do not build or install the bundled copy of μCsim, for which Guix
|
||||||
|
;; has its own package.
|
||||||
|
"--disable-ucsim")
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-makefiles
|
(add-after 'unpack 'patch-makefiles
|
||||||
|
@ -1679,7 +1681,11 @@ PicoBlaze; and Zilog Z80 families, plus many of their variants.")
|
||||||
(string-append line "\n"
|
(string-append line "\n"
|
||||||
"TARGETS += sdcc-misc\n"
|
"TARGETS += sdcc-misc\n"
|
||||||
"PKGS += $(SDCC_MISC)"))))))))
|
"PKGS += $(SDCC_MISC)"))))))))
|
||||||
(home-page "https://sdcc.sourceforge.net")
|
(inputs
|
||||||
|
(list readline))
|
||||||
|
(native-inputs
|
||||||
|
(list bison boost flex python-2 texinfo zlib))
|
||||||
|
(home-page "https://sdcc.sourceforge.net/")
|
||||||
(synopsis "C compiler suite for 8-bit microcontrollers")
|
(synopsis "C compiler suite for 8-bit microcontrollers")
|
||||||
(description "SDCC is a retargetable, optimizing Standard C compiler suite
|
(description "SDCC is a retargetable, optimizing Standard C compiler suite
|
||||||
that targets 8-bit microcontrollers in the Intel MCS-51 (8051); MOS Technology
|
that targets 8-bit microcontrollers in the Intel MCS-51 (8051); MOS Technology
|
||||||
|
|
Reference in New Issue