diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2019-12-24 23:35:18 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2019-12-25 11:06:09 +0100 |
commit | 5c792737b6414a5cf104d8ee2bddc2e2c33e928e (patch) | |
tree | a74c5651280ea90a5d2ca9eaec82a04bb3522093 /gnu/packages/embedded.scm | |
parent | 04c4ef351fa7d0702f09a5770e2d99544c45d205 (diff) | |
download | guix-5c792737b6414a5cf104d8ee2bddc2e2c33e928e.tar guix-5c792737b6414a5cf104d8ee2bddc2e2c33e928e.tar.gz |
gnu: Add newlib-arm-none-eabi-7-2018-q2-update.
* gnu/packages/embedded.scm (newlib-arm-none-eabi-7-2018-q2-update): New variable.
Diffstat (limited to 'gnu/packages/embedded.scm')
-rw-r--r-- | gnu/packages/embedded.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm index d2918c9263..257ae4968f 100644 --- a/gnu/packages/embedded.scm +++ b/gnu/packages/embedded.scm @@ -285,6 +285,38 @@ usable on embedded products.") (variable "CROSS_LIBRARY_PATH") (files '("arm-none-eabi/lib")))))))) +(define-public newlib-arm-none-eabi-7-2018-q2-update + ;; This is the same commit as used for the 7-2018-q2-update release + ;; according to the release.txt. + (let ((commit "3ccfb407af410ba7e54ea0da11ae1e40b554a6f4") + (revision "0")) + (package + (inherit newlib-arm-none-eabi) + (version (git-version "3.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "http://sourceware.org/git/newlib-cygwin.git") + (commit commit))) + (file-name (git-file-name "newlib" commit)) + (sha256 + (base32 + "1dq23fqrk75g1a4v7569fvnnw5q440zawbxi3w0g05n8jlqsmvcy")))) + (arguments + (substitute-keyword-arguments (package-arguments newlib-arm-none-eabi) + ;; The configure flags are identical to the flags used by the "GCC ARM + ;; embedded" project. + ((#:configure-flags flags) + `(cons* "--enable-newlib-io-c99-formats" + "--enable-newlib-retargetable-locking" + "--with-headers=yes" + ,flags)))) + (native-inputs + `(("xbinutils" ,(cross-binutils "arm-none-eabi")) + ("xgcc" ,gcc-arm-none-eabi-7-2018-q2-update) + ("texinfo" ,texinfo)))))) + (define (make-libstdc++-arm-none-eabi xgcc newlib) (let ((libstdc++ (make-libstdc++ xgcc))) (package (inherit libstdc++) |