$ cargo install cargo-xbuild
The lld-link
application needs to be in $PATH
. Ubuntu provides the lld
package but it contains an executable named lld-link-6.0
.
To make it work create a symlink in /usr/local/bin
:
$ ln -s /usr/bin/lld-link-6.0 /usr/local/bin/lld-link
Install qemu-system-x86_64
and ovmf
packages on your system.
uefi-run
is optional but a makes things a lot easier.
$ cargo install uefi-run
To build just issue
$ make
If uefi-run
is installed you can start the application with
$ make run