Skip to content

Commit

Permalink
Build: Replaced GenFw with ImageTool.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikhailKrichanov authored and savvamitrofanov committed Dec 28, 2022
1 parent 676f04b commit ca9a501
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build_duet.tool
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ imgbuild() {

echo "Generating Loader Image..."

GenFw --rebase 0x10000 -o "${BUILD_DIR_ARCH}/EfiLoaderRebased.efi" \
"${BUILD_DIR_ARCH}/EfiLoader.efi" || exit 1
ImageTool "${arch}" Rebase 0x10000 "${BUILD_DIR_ARCH}/EfiLoader.efi" "${BUILD_DIR_ARCH}/EfiLoaderRebased.efi" || exit 1

"${FV_TOOLS}/EfiLdrImage" -o "${BUILD_DIR}/FV/Efildr${arch}" \
"${BUILD_DIR_ARCH}/EfiLoaderRebased.efi" "${BUILD_DIR}/FV/DxeIpl${arch}.z" \
"${BUILD_DIR}/FV/DxeMain${arch}.z" "${BUILD_DIR}/FV/DUETEFIMAINFV${arch}.z" || exit 1
Expand Down

0 comments on commit ca9a501

Please sign in to comment.