mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-20 06:37:08 +01:00
gnu: SeaBIOS: Simplify build.
* gnu/packages/firmware.scm (seabios)[arguments]: Don't install bios.bin twice. Drop redundant append step.
This commit is contained in:
parent
f7793ce0e0
commit
ec76f45d30
1 changed files with 1 additions and 3 deletions
|
@ -450,7 +450,7 @@ (define-public seabios
|
|||
(string-drop-right entry 2))
|
||||
(format port "CONFIG_~a~%" entry)))
|
||||
(cons "BUILD_VGABIOS=y" config))))
|
||||
(apply invoke "make" (append flags '("oldnoconfig")))
|
||||
(apply invoke "make" "oldnoconfig" flags)
|
||||
(apply invoke "make" flags)
|
||||
(link (string-append target "/bios.bin")
|
||||
(string-append "out/" target ".bin")))))
|
||||
|
@ -469,8 +469,6 @@ (define-public seabios
|
|||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(fmw (string-append out "/share/firmware")))
|
||||
(mkdir-p fmw)
|
||||
(copy-file "out/bios.bin" (string-append fmw "/bios.bin"))
|
||||
(for-each (lambda (bios)
|
||||
(install-file bios fmw))
|
||||
(find-files "out" "\\.bin$"))
|
||||
|
|
Loading…
Reference in a new issue