mirror of https://github.com/acidanthera/audk.git
UefiPayloadPkg: UPL arch backward support ELF
After 11ad164bce
merge,
ELF format API won't meet backward requirement.
Cc: Guo Dong <guo.dong@intel.com>
Cc: Sean Rhodes <sean@starlabs.systems>
Reviewed-by: James Lu <james.lu@intel.com>
Cc: Gua Guo <gua.guo@intel.com>
Signed-off-by: Gua Guo <gua.guo@intel.com>
This commit is contained in:
parent
3775122ede
commit
970aacd191
|
@ -348,7 +348,7 @@ def main():
|
|||
if os.path.exists (SectionFvFile) == False:
|
||||
continue
|
||||
if (args.Fit == False):
|
||||
status = ReplaceFv (UniversalPayloadBinary, SectionFvFile, SectionName)
|
||||
status = ReplaceFv (UniversalPayloadBinary, SectionFvFile, SectionName, args.Arch)
|
||||
else:
|
||||
status = ReplaceFv (UniversalPayloadBinary, SectionFvFile, SectionName.replace ("_", "-"), args.Arch)
|
||||
if status != 0:
|
||||
|
|
Loading…
Reference in New Issue