mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-14 15:56:47 +00:00
Fallback to BIOS when using legacy boot protocols
This commit is contained in:
parent
5630fa8b36
commit
4baff8e17b
8
Makefile
8
Makefile
@ -85,6 +85,14 @@ BOOT_PROTOCOL = linux-efi-handover64
|
||||
CARGO_OSDK_ARGS += --scheme tdx
|
||||
endif
|
||||
|
||||
ifeq ($(BOOT_PROTOCOL), linux-legacy32)
|
||||
BOOT_METHOD = qemu-direct
|
||||
OVMF = off
|
||||
else ifeq ($(BOOT_PROTOCOL), multiboot)
|
||||
BOOT_METHOD = qemu-direct
|
||||
OVMF = off
|
||||
endif
|
||||
|
||||
ifneq ($(SCHEME), "")
|
||||
CARGO_OSDK_ARGS += --scheme $(SCHEME)
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user