|
From: | Ludovic Courtès |
Subject: | Re: [PATCH 2/3] gnu: Add newlib-arm-none-eabi. |
Date: | Wed, 21 Sep 2016 17:38:36 +0900 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Ricardo Wurmus <address@hidden> skribis: > * gnu/packages/embedded.scm (newlib-arm-none-eabi): New variable. [...] > + #:configure-flags '("--target=arm-none-eabi" > + "--enable-newlib-io-long-long" > + "--enable-newlib-register-fini" > + "--disable-newlib-supplied-syscalls" > + "--disable-nls") Maybe a short comment to explain. :-) > + #:phases > + (modify-phases %standard-phases > + (add-after 'unpack 'fix-shell-shebangs > + (lambda _ > + (setenv "SHELL" (which "sh")) > + (setenv "CONFIG_SHELL" (which "sh")) > + (substitute* '("libgloss/arm/configure" > + "libgloss/arm/cpu-init/Makefile.in" > + "libgloss/arm/Makefile.in" > + "libgloss/libnosys/Makefile.in" > + "libgloss/Makefile.in") > + (("/bin/sh") (which "sh"))) Are they not taken care of by the ‘patch-shebangs’ phase? Otherwise LGTM, thanks! Ludo’.
[Prev in Thread] | Current Thread | [Next in Thread] |