This paves the way for using a native search path in the future.
* gnu/packages/bootloaders.scm (ipxe-qemu)[arguments]: Install firmware files
to 'share/qemu' instead of 'share/firmware'.
* gnu/packages/firmware.scm (seabios-qemu)[arguments]: Likewise.
* gnu/packages/virtualization.scm (qemu)[arguments]: Adjust accordingly.
* gnu/packages/firmware.scm (seabios)[arguments]: Move custom build and
install phases out to ...
(seabios-qemu): ... this new variable.
* gnu/packages/virtualization.scm (qemu)[inputs]: Change from SEABIOS to
SEABIOS-QEMU.
* gnu/packages/firmware.scm (seabios)[native-inputs]: When not building
from an i686-linux or x86_64-linux machine add cross-gcc and
cross-binutils for i686-linux-gnu.
[arguments]: When not building from an i686-linux or x86_64-linux
machine adjust the Makefile to find the cross build tools needed.
[supported-architectures]: Remove field.
* gnu/packages/firmware.scm (fwupd)[propagated-inputs]: Move curl, gcab, glib, gusb,
libarchive, gnutls, json-glib and libjcat here from inputs.
Signed-off-by: Marius Bakke <marius@gnu.org>
* gnu/packages/firmware.scm (edk2-commit, edk2-version)
(edk2-origin): Delete variables.
(ovmf)[source]: Define here; it's the only user of it so far.
[native-inputs]: Move below arguments.
[phases]: Use gexps. Delete trailing #t.
{patch-source}: New phase.
{configure}: Use 'invoke' to execute the 'edksetup.sh' script; delete
associated FIXME comment.
(ovmf-aarch64, ovmf-arm): Adjust accordingly.
...to make the build deterministic.
* gnu/packages/firmware.scm (seabios)[arguments]: Create a ".version" file as
expected by the build system. While at it, set EXTRAVERSION as recommended by
upstream.
* gnu/packages/firmware (make-opensbi-package): Add name argument.
Drop variant argument.
(opensbi-qemu-sifive-fu540): Adjust arguments.
(opensbi-qemu-generic): New variable.
(opensbi-qemu-virt): Change to deprecated variable.