Subject: [bug#66263] [PATCH 10/23] gnu: Add binutils-cross-avr.

From: Maxim Cournoyer <[email-masked]>
Date: Thu, 05 Oct 2023 10:46:39 -0400

Hi,

Jean-Pierre De Jesus DIAZ <[email-masked]> writes:

> * gnu/packages/cross-toolchain.scm (binutils-cross-avr): 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 0062d043a0..5617959851 100644
> --- a/gnu/packages/cross-toolchain.scm
> +++ b/gnu/packages/cross-toolchain.scm
> @@ -56,3 +56,8 @@ (define* (make-cross-gcc-toolchain target
>  libc (headers and binaries), and Binutils.  GCC is the GNU Compiler
>  Collection.")
>      (home-page "https://gcc.gnu.org/")))
> +
> +;;; Cross binutils:
> +
> +(define-public binutils-cross-avr
> +  (cross-binutils "avr"))

Since this module *uses* the cross* procedures that are likely to create
top level cycles, it should be stressed after the imports near the top
in a ;;; Commentary:  comment block that this module exists solely to
provide a convenient way to install the cross toolchains as packages,
and should NOT be imported by any other module to avoid introducing
module cycles.

-- 
Thanks,
Maxim