mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-16 06:19:24 +00:00
HV: add multiboot2 header info
Add multiboot2 header info in HV image so that bootloader could recognize it. Tracked-On: #4419 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -107,6 +107,9 @@ CFLAGS += -fcf-protection=none
|
||||
endif
|
||||
|
||||
ASFLAGS += -m64 -nostdinc -nostdlib
|
||||
ifeq (y, $(CONFIG_MULTIBOOT2))
|
||||
ASFLAGS += -DCONFIG_MULTIBOOT2
|
||||
endif
|
||||
|
||||
LDFLAGS += -Wl,--gc-sections -nostartfiles -nostdlib
|
||||
LDFLAGS += -Wl,-n,-z,max-page-size=0x1000
|
||||
|
Reference in New Issue
Block a user