mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-19 04:26:39 +00:00
Make stripping ELF optional for QEMU direct boot
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
32b1fb3723
commit
f420286920
@ -264,6 +264,12 @@ pub struct CommonArgs {
|
||||
global = true
|
||||
)]
|
||||
pub linux_x86_legacy_boot: bool,
|
||||
#[arg(
|
||||
long = "strip-elf",
|
||||
help = "Strip the built kernel ELF file for a smaller size",
|
||||
global = true
|
||||
)]
|
||||
pub strip_elf: bool,
|
||||
#[arg(
|
||||
long = "target-arch",
|
||||
value_name = "ARCH",
|
||||
|
Reference in New Issue
Block a user