system: Add os-with-u-boot.

* gnu/system/install.scm (os-with-u-boot): New procedure.
* gnu/packages/bootloaders.scm (make-u-boot-package): Export.
* doc/guix.texi (Building the Installation Image for ARM Boards): New
subsection.
This commit is contained in:
Danny Milosavljevic 2018-06-15 09:52:42 +02:00
parent 0017e55f89
commit 4ce4fc5010
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5
3 changed files with 32 additions and 2 deletions

View file

@ -439,7 +439,7 @@ def test_ctrl_c"))
also initializes the boards (RAM etc). This package provides its
board-independent tools.")))
(define (make-u-boot-package board triplet)
(define-public (make-u-boot-package board triplet)
"Returns a u-boot package for BOARD cross-compiled for TRIPLET."
(let ((same-arch? (if (string-prefix? (%current-system)
(gnu-triplet->nix-system triplet))