gnu: u-boot-tools: Install "sunxi-spl-image-builder".

* gnu/packages/bootloaders.scm (u-boot-tools)[arguments]<#:phases>[build]:
Build sunxi-spl-image-builder.
(u-boot-tools)[arguments]<#:phases>[install]: Install sunxi-spl-image-builder.
This commit is contained in:
Danny Milosavljevic 2018-07-11 16:10:36 +02:00
parent d1af9a8c22
commit 10186ee2d3
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -426,7 +426,8 @@ (define-public u-boot-tools
(replace 'build
(lambda* (#:key inputs make-flags #:allow-other-keys)
(apply invoke "make" "tools-only" make-flags)
(apply invoke "make" "envtools" make-flags)))
(apply invoke "make" "envtools" make-flags)
(invoke "make" "-C" "tools" "sunxi-spl-image-builder")))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
@ -443,7 +444,8 @@ (define-public u-boot-tools
"tools/mkimage"
"tools/proftool"
"tools/fdtgrep"
"tools/env/fw_printenv"))
"tools/env/fw_printenv"
"tools/sunxi-spl-image-builder"))
#t)))
(delete 'check)
(add-after 'install 'check