gnu: buildroot-boards: Install support scripts.

* gnu/packages/buildroot.scm (buildroot-boards)[arguments]<#:phases>[install]:
Install support scripts.
This commit is contained in:
Danny Milosavljevic 2019-09-03 03:08:34 +02:00
parent 7b06a3d0ca
commit 5bdd10bdfc
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -58,9 +58,10 @@ (define-public buildroot-boards
(delete 'check)
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((destination (string-append (assoc-ref outputs "out")
"/share/buildroot/board")))
(copy-recursively "board" destination))
(let ((out-share (string-append (assoc-ref outputs "out")
"/share/buildroot/")))
(copy-recursively "board" (string-append out-share "board"))
(copy-recursively "support" (string-append out-share "support")))
#t)))))
(synopsis "Generate embedded Linux system images")
(description "@code{buildroot} generates embedded Linux system images.")