1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-12 18:10:47 +02:00

gnu: avr: Delay all cross compilation packages.

Partially addresses <https://issues.guix.gnu.org/65716>.

* gnu/packages/avr.scm: Add commentary comment.
(avr-binutils): Turn into this...
(make-avr-binutils): ... procedure.
(avr-gcc): Likewise, into...
(make-avr-gcc): ... this.  Adjust native-inputs accordingly.
(avr-toolchain): Likewise, into...
(make-avr-toolchain): ... this.
* gnu/packages/avr-xyz.scm (simavr) [propagated-inputs]: replace avr-toolchain
with a call to the 'make-avr-toolchain' procedure.

Series-changes: 2
- Use mlambda for procedures
- Fix ((make-avr-toolchain)) typo
This commit is contained in:
Maxim Cournoyer 2023-09-10 11:21:34 -04:00
parent 1d872a6705
commit d35bc00cc1
No known key found for this signature in database
GPG key ID: 1260E46482E63562
2 changed files with 123 additions and 100 deletions

View file

@ -71,7 +71,7 @@
(string-append "PREFIX=" #$output)
(string-append "DESTDIR=" #$output))))
(propagated-inputs
(list avr-toolchain))
(list (make-avr-toolchain)))
(native-inputs
(list autoconf
which