diff mbox series

[bug#66263,20/23] gnu: Add avr-toolchain.

Message ID 20230929091627.7820-20-jean@foundationdevices.com
State New
Headers show
Series guix: Add avr as a platform. | expand

Commit Message

Jean-Pierre De Jesus DIAZ Sept. 29, 2023, 9:16 a.m. UTC
* gnu/packages/cross-toolchain.scm (avr-toolchain): New variable.
---
 gnu/packages/cross-toolchain.scm | 8 ++++++++
 1 file changed, 8 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/cross-toolchain.scm b/gnu/packages/cross-toolchain.scm
index 2ee039c7f6..0f1cd45b40 100644
--- a/gnu/packages/cross-toolchain.scm
+++ b/gnu/packages/cross-toolchain.scm
@@ -19,6 +19,7 @@ 
 (define-module (gnu packages cross-toolchain)
   #:use-module (gnu packages avr)
   #:use-module (gnu packages cross-base)
+  #:use-module (gnu packages flashing-tools)
   #:use-module (guix build-system trivial)
   #:use-module (guix deprecation)
   #:use-module (guix packages)
@@ -78,3 +79,10 @@  (define-public gcc-cross-avr-toolchain
                             #:libc avr-libc
                             #:xgcc (cross-gcc "avr" #:libc avr-libc)
                             #:xbinutils binutils-cross-avr))
+
+(define-deprecated/public avr-toolchain gcc-cross-avr-toolchain
+  (deprecated-package "avr-toolchain"
+                      (package/inherit gcc-cross-avr-toolchain
+                        (inputs
+                          (modify-inputs (package-inputs gcc-cross-avr-toolchain)
+                            (append avrdude))))))