From 970aacd191eb006f280f285251343b3dc9e1fa81 Mon Sep 17 00:00:00 2001 From: Gua Guo Date: Mon, 4 Mar 2024 15:27:07 +0800 Subject: UefiPayloadPkg: UPL arch backward support ELF After 11ad164bcea6b0ed3628d merge, ELF format API won't meet backward requirement. Cc: Guo Dong Cc: Sean Rhodes Reviewed-by: James Lu Cc: Gua Guo Signed-off-by: Gua Guo --- UefiPayloadPkg/UniversalPayloadBuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'UefiPayloadPkg') diff --git a/UefiPayloadPkg/UniversalPayloadBuild.py b/UefiPayloadPkg/UniversalPayloadBuild.py index 49de882798..0423e6da17 100644 --- a/UefiPayloadPkg/UniversalPayloadBuild.py +++ b/UefiPayloadPkg/UniversalPayloadBuild.py @@ -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: -- cgit v1.2.3