aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/linux.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludovic.courtes@inria.fr>2017-07-07 14:28:24 +0200
committerLudovic Courtès <ludo@gnu.org>2017-07-07 17:07:16 +0200
commitc89e21078862bd29b70a3bc0f33d160c59720364 (patch)
tree645afe80a9996b21f9e38407794804a4b3a143bc /gnu/packages/linux.scm
parent6b994438b049e91d7f950c2aa8abaae8d6112cf3 (diff)
downloadgnu-guix-c89e21078862bd29b70a3bc0f33d160c59720364.tar
gnu-guix-c89e21078862bd29b70a3bc0f33d160c59720364.tar.gz
gnu: Add basic support for powerpc64le-linux-gnu targets.
* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add "powerpc64le-linux". * gnu/packages/linux.scm (system->linux-architecture): Add "powerpc" prefix. (system->defconfig): Add "powerpc64le-" prefix.
Diffstat (limited to 'gnu/packages/linux.scm')
-rw-r--r--gnu/packages/linux.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 28a060fe54..100440a72c 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -123,6 +123,7 @@
((string-prefix? "arm" arch) "arm")
((string-prefix? "aarch64" arch) "arm64")
((string-prefix? "alpha" arch) "alpha")
+ ((string-prefix? "powerpc" arch) "powerpc") ;including "powerpc64le"
(else arch))))
(define-public (system->defconfig system)
@@ -130,6 +131,7 @@
defconfig. Return the appropiate make target if applicable, otherwise return
\"defconfig\"."
(cond ((string-prefix? "powerpc-" system) "pmac32_defconfig")
+ ((string-prefix? "powerpc64le-" system) "ppc64_defconfig")
(else "defconfig")))
(define (linux-libre-urls version)