summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2014-12-31 04:23:12 -0500
committerMark H Weaver <mhw@netris.org>2015-01-07 21:47:51 -0500
commitaa1e19477b2d78884fc500fef497cd6677604d9b (patch)
tree635d061c2a0ff061d241266c9a364ee579826192 /m4
parentb58b7dbb75208f92c5eda7834fb42a196d66ca12 (diff)
gnu: Add bootstrap binaries for 'armhf-linux'.
* gnu/packages/bootstrap/armhf-linux/bash, gnu/packages/bootstrap/armhf-linux/mkdir, gnu/packages/bootstrap/armhf-linux/tar, gnu/packages/bootstrap/armhf-linux/xz: New files. * gnu-system.am (bootstrap_armhf_linuxdir, dist_bootstrap_armhf_linux_DATA) (nodist_bootstrap_armhf_linux_DATA): New variables. (DISTCLEANFILES): Add $(nodist_bootstrap_armhf_linux_DATA). (gnu/packages/bootstrap/armhf-linux/guile-2.0.11.tar.xz): New target. * build-aux/download.scm (file-name->uri): Use newer date in URI for armhf-linux. * gnu/packages/bootstrap.scm (raw-build): Use "guile-2.0.11.tar.xz" on armhf-linux. (glibc-dynamic-linker, %bootstrap-coreutils&co, %bootstrap-binutils) (%bootstrap-glibc, %bootstrap-gcc): Add armhf-linux cases. * m4/guix.m4 (GUIX_SYSTEM_TYPE): Add armhf case. (GUIX_ASSERT_SUPPORTED_SYSTEM): Add armhf-linux to list of supported systems. * doc/guix.texi (GNU Distribution): Add armhf-linux to the list of supported systems.
Diffstat (limited to 'm4')
-rw-r--r--m4/guix.m413
1 files changed, 12 insertions, 1 deletions
diff --git a/m4/guix.m4 b/m4/guix.m4
index 19e041a72c6..d4415598b04 100644
--- a/m4/guix.m4
+++ b/m4/guix.m4
@@ -1,5 +1,6 @@
1dnl GNU Guix --- Functional package management for GNU 1dnl GNU Guix --- Functional package management for GNU
2dnl Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org> 2dnl Copyright © 2012, 2013, 2014 Ludovic Courtès <ludo@gnu.org>
3dnl Copyright © 2014 Mark H Weaver <mhw@netris.org>
3dnl 4dnl
4dnl This file is part of GNU Guix. 5dnl This file is part of GNU Guix.
5dnl 6dnl
@@ -50,6 +51,16 @@ AC_DEFUN([GUIX_SYSTEM_TYPE], [
50 machine_name="i686";; 51 machine_name="i686";;
51 amd64) 52 amd64)
52 machine_name="x86_64";; 53 machine_name="x86_64";;
54 arm*)
55 # TODO: If not cross-compiling, add a sanity check to make
56 # sure this build machine has the needed features to
57 # support executables compiled using our armhf gcc,
58 # configured with:
59 # --with-arch=armv7-a
60 # --with-float=hard
61 # --with-mode=thumb
62 # --with-fpu=vfpv3-d16
63 machine_name="armhf";;
53 *) 64 *)
54 machine_name="$host_cpu";; 65 machine_name="$host_cpu";;
55 esac 66 esac
@@ -86,7 +97,7 @@ courageous and port the GNU System distribution to it (see
86 # Currently only Linux-based systems are supported, and only on some 97 # Currently only Linux-based systems are supported, and only on some
87 # platforms. 98 # platforms.
88 case "$guix_system" in 99 case "$guix_system" in
89 x86_64-linux|i686-linux|mips64el-linux) 100 x86_64-linux|i686-linux|armhf-linux|mips64el-linux)
90 ;; 101 ;;
91 *) 102 *)
92 if test "x$guix_courageous" = "xyes"; then 103 if test "x$guix_courageous" = "xyes"; then