mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
UefiPayloadPkg: UniversalPayloadBuild.py -l add support for various bases
Hexadecimal is more convenient when using this script, so add various number bases support Signed-off-by: Xiang W <wangxiang@iscas.ac.cn>
This commit is contained in:
parent
3d8fb11bc2
commit
b7d0b8331f
1 changed files with 1 additions and 1 deletions
|
|
@ -337,7 +337,7 @@ def InitArgumentParser(LoadDefault):
|
|||
parser.add_argument("-sk", "--SkipBuild", action='store_true', help='Skip UniversalPayload build')
|
||||
parser.add_argument("-af", "--AddFv", type=ValidateAddFv, action='append', help='Add or replace specific FV into payload, Ex: uefi_fv=XXX.fv')
|
||||
parser.add_argument("-f", "--Fit", action='store_true', help='Build UniversalPayload file as UniversalPayload.fit', default=False)
|
||||
parser.add_argument('-l', "--LoadAddress", type=int, help='Specify payload load address', default =0x000800000)
|
||||
parser.add_argument('-l', "--LoadAddress", type=lambda x: int(x, 0), help='Specify payload load address', default =0x000800000)
|
||||
parser.add_argument('-c', '--DscPath', type=str, default="UefiPayloadPkg/UefiPayloadPkg.dsc", help='Path to the DSC file')
|
||||
parser.add_argument('-ac', '--add_cc_flags', action='append', help='Add specified CC compile flags')
|
||||
parser.add_argument('-ci','--CiBuild', action='store_true', help='Call from edk2 CI Build Process or not', default=False)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue