mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-16 08:46:48 +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
|
CARGO_OSDK_ARGS += --scheme tdx
|
||||||
endif
|
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), "")
|
ifneq ($(SCHEME), "")
|
||||||
CARGO_OSDK_ARGS += --scheme $(SCHEME)
|
CARGO_OSDK_ARGS += --scheme $(SCHEME)
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user