diff options
author | Gua Guo <gua.guo@intel.com> | 2024-03-04 15:27:07 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-03-04 08:57:18 +0000 |
commit | 970aacd191eb006f280f285251343b3dc9e1fa81 (patch) | |
tree | 02beb6a6cfe411ee0b464ba3b9b6ff2494c8658b /UefiPayloadPkg | |
parent | 3775122ede395d934198ffdb0c173875a5e94c00 (diff) | |
download | edk2-970aacd191eb006f280f285251343b3dc9e1fa81.tar.gz edk2-970aacd191eb006f280f285251343b3dc9e1fa81.tar.bz2 edk2-970aacd191eb006f280f285251343b3dc9e1fa81.zip |
UefiPayloadPkg: UPL arch backward support ELF
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>
Diffstat (limited to 'UefiPayloadPkg')
-rw-r--r-- | UefiPayloadPkg/UniversalPayloadBuild.py | 2 |
1 files changed, 1 insertions, 1 deletions
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:
|