Adds an hint in `menuconfig` that appears if the configuration dependencies
are not met for building a QEMU image compatible to boot from an EFI
firmware.
Signed-off-by: Simon Kuenzer <simon@unikraft.io>
Reviewed-by: Sergiu Moga <sergiu@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #1038
if (PLAT_KVM)
choice
- prompt "Booting environment"
+ prompt "Boot protocol"
config KVM_BOOT_PROTO_MULTIBOOT
bool "Multiboot"
help
Make Unikraft bootable by UEFI firmware
+comment "Hint: EFI stub depends on OPTIMIZE_PIE"
+ depends on !OPTIMIZE_PIE && !KVM_VMM_FIRECRACKER
endchoice
if KVM_BOOT_EFI_STUB