public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] [PATCH v1] UefiPayloadPkg: UPL arch backward support ELF
@ 2024-03-04  7:28 Guo, Gua
  2024-03-04  7:31 ` Lu, James
  0 siblings, 1 reply; 2+ messages in thread
From: Guo, Gua @ 2024-03-04  7:28 UTC (permalink / raw)
  To: devel; +Cc: gua.guo, Guo Dong, Sean Rhodes, James Lu

From: Gua Guo <gua.guo@intel.com>

After 11ad164bcea6b0ed3628d 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>
---
 UefiPayloadPkg/UniversalPayloadBuild.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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:
-- 
2.39.2.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#116305): https://edk2.groups.io/g/devel/message/116305
Mute This Topic: https://groups.io/mt/104718144/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-04  7:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-04  7:28 [edk2-devel] [PATCH v1] UefiPayloadPkg: UPL arch backward support ELF Guo, Gua
2024-03-04  7:31 ` Lu, James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox