aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/cross-base.scm
diff options
context:
space:
mode:
authorManolis Ragkousis <manolis837@gmail.com>2014-11-21 23:22:51 +0000
committerLudovic Courtès <ludo@gnu.org>2014-11-21 23:30:27 +0100
commita5b60e3c6bfec96092a7854edb0c74fb46eed647 (patch)
treedb6c4c62fe555ed0b6914d023bc2b8859e6cdade /gnu/packages/cross-base.scm
parentf4391bec000fbc218becda950bb2543c659d95be (diff)
downloadpatches-a5b60e3c6bfec96092a7854edb0c74fb46eed647.tar
patches-a5b60e3c6bfec96092a7854edb0c74fb46eed647.tar.gz
gnu: Add AVR-Libc.
* gnu/packages/avr.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add avr.scm. * gnu/packages/cross-base.scm (xgcc-avr): New variable. * gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add case for "avr". Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/cross-base.scm')
-rw-r--r--gnu/packages/cross-base.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm
index a68711c91f..74809d08f9 100644
--- a/gnu/packages/cross-base.scm
+++ b/gnu/packages/cross-base.scm
@@ -313,6 +313,12 @@ XBINUTILS and the cross tool chain."
(cross-binutils triplet)
(cross-libc triplet))))
+(define-public xgcc-avr
+ ;; AVR cross-compiler, used to build AVR-Libc.
+ (let ((triplet "avr"))
+ (cross-gcc triplet
+ (cross-binutils triplet))))
+
(define-public xgcc-xtensa
;; Bare-bones Xtensa cross-compiler, used to build the Atheros firmware.
(cross-gcc "xtensa-elf"))