gnu: make-crust-package: Don't run from avr.

* gnu/packages/firmware.scm (make-crust-package)[arguments]: In
make-flags don't create tools which can be run from avr.

Change-Id: I118b4941889b884de1e491ace3818d878a887d7c
This commit is contained in:
Efraim Flashner 2023-12-12 08:45:46 +02:00
parent 5df4084ecd
commit 0cc7fc0025
Signed by untrusted user: efraim
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 2 additions and 0 deletions

View File

@ -1158,6 +1158,8 @@ such as:
#:make-flags
(let ((triplet-without-vendor
(and (%current-target-system)
;; TODO: Is there a use case for allowing this?
(not (target-avr?))
(match (string-split (nix-system->gnu-triplet
(%current-target-system)) #\-)
((arch vendor os ..1)