Message ID | 20230929091627.7820-18-jean@foundationdevices.com |
---|---|
State | New |
Headers | show |
Series | guix: Add avr as a platform. | expand |
Hi, Jean-Pierre De Jesus DIAZ <jean@foundationdevices.com> writes: > * gnu/packages/cross-toolchain.scm (avr-libc): New variable. > --- > gnu/packages/cross-toolchain.scm | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/gnu/packages/cross-toolchain.scm b/gnu/packages/cross-toolchain.scm > index 77af6b862b..929e665e50 100644 > --- a/gnu/packages/cross-toolchain.scm > +++ b/gnu/packages/cross-toolchain.scm > @@ -65,3 +65,8 @@ (define-public binutils-cross-avr > > (define-deprecated/public avr-binutils binutils-cross-avr > (deprecated-package "avr-binutils" binutils-cross-avr)) > + > +;;; C standard libraries: > + > +(define-public avr-libc > + (cross-libc "avr")) LGTM, with the Commentary section added as suggested before to warn this module should *not* be imported elsewhere, for cyclic module dependency reasons.
diff --git a/gnu/packages/cross-toolchain.scm b/gnu/packages/cross-toolchain.scm index 77af6b862b..929e665e50 100644 --- a/gnu/packages/cross-toolchain.scm +++ b/gnu/packages/cross-toolchain.scm @@ -65,3 +65,8 @@ (define-public binutils-cross-avr (define-deprecated/public avr-binutils binutils-cross-avr (deprecated-package "avr-binutils" binutils-cross-avr)) + +;;; C standard libraries: + +(define-public avr-libc + (cross-libc "avr"))