summaryrefslogtreecommitdiff
path: root/gnu/packages/cross-base.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-10-28 22:24:46 +0100
committerLudovic Courtès <ludo@gnu.org>2014-10-29 00:31:23 +0100
commit9d3074609a3fb0712e0102dbbb4d7bdabb58d142 (patch)
treec6c07e697c0d72055db17fd3eb1d6558fa99b665 /gnu/packages/cross-base.scm
parentfc93e309196ee8009a975b4c0acf712f54581a93 (diff)
gnu: Add Xtensa bare-bones cross-compiler.
* gnu/packages/cross-base.scm (xgcc-xtensa): New variable. * gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add case for "xtensa-elf".
Diffstat (limited to 'gnu/packages/cross-base.scm')
-rw-r--r--gnu/packages/cross-base.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm
index 0a0272cf74..a91952daca 100644
--- a/gnu/packages/cross-base.scm
+++ b/gnu/packages/cross-base.scm
@@ -293,6 +293,10 @@ XBINUTILS and the cross tool chain."
(cross-binutils triplet)
(cross-libc triplet))))
+(define-public xgcc-xtensa
+ ;; Bare-bones Xtensa cross-compiler, used to build the Atheros firmware.
+ (cross-gcc "xtensa-elf"))
+
;; (define-public xgcc-armel
;; (let ((triplet "armel-linux-gnueabi"))
;; (cross-gcc triplet