From ca9a501490ccce20431f095182b4fb0d359d80e3 Mon Sep 17 00:00:00 2001 From: Mikhail Krichanov Date: Tue, 20 Dec 2022 11:44:54 +0300 Subject: [PATCH] Build: Replaced GenFw with ImageTool. --- build_duet.tool | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_duet.tool b/build_duet.tool index c6b3c89e334..009ee162ebd 100755 --- a/build_duet.tool +++ b/build_duet.tool @@ -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