gnu: ovmf: Add OVMF_CODE and OVMF_VARS files.
* gnu/packages/firmware.scm (ovmf)[arguments]: Add OVMF_CODE.fd and OVMF_VARS.fs to outputs as ovmf_code_arch.bin and ovmf_vars_arch.bin, respectively, for both ia32 and x64 architectures. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Change-Id: Ie329f3f3515e7d015d9fbad01b8c2b82dc7da76emaster
parent
57aaaf2903
commit
1c9908fad5
|
@ -954,14 +954,19 @@ Executables included are:
|
||||||
(lambda _
|
(lambda _
|
||||||
(let ((fmw (string-append #$output "/share/firmware")))
|
(let ((fmw (string-append #$output "/share/firmware")))
|
||||||
(mkdir-p fmw)
|
(mkdir-p fmw)
|
||||||
(copy-file (string-append "Build/OvmfIa32/RELEASE_"
|
(for-each
|
||||||
#$toolchain-ver "/FV/OVMF.fd")
|
(lambda (file)
|
||||||
(string-append fmw "/ovmf_ia32.bin"))
|
(copy-file (string-append "Build/OvmfIa32/RELEASE_"
|
||||||
#$@(if (string=? "x86_64-linux" (%current-system))
|
#$toolchain-ver "/FV/" file ".fd")
|
||||||
#~((copy-file (string-append "Build/OvmfX64/RELEASE_"
|
(string-append fmw "/" (string-downcase file) "_ia32.bin"))
|
||||||
#$toolchain-ver "/FV/OVMF.fd")
|
#$@(if (string=? "x86_64-linux" (%current-system))
|
||||||
(string-append fmw "/ovmf_x64.bin")))
|
#~((copy-file (string-append "Build/OvmfX64/RELEASE_"
|
||||||
#~())))))))
|
#$toolchain-ver "/FV/" file ".fd")
|
||||||
|
(string-append fmw "/" (string-downcase file) "_x64.bin")))
|
||||||
|
#~()))
|
||||||
|
(list "OVMF"
|
||||||
|
"OVMF_CODE"
|
||||||
|
"OVMF_VARS"))))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("acpica" ,acpica)
|
`(("acpica" ,acpica)
|
||||||
("gcc@5" ,gcc-5)
|
("gcc@5" ,gcc-5)
|
||||||
|
|
Reference in New Issue