mirror of https://github.com/acidanthera/audk.git
Update the bat file, avoid change the original binary file in SVN, copy a temp file to use.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15644 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
720f84a9d3
commit
bffaa2614a
|
@ -53,9 +53,11 @@ goto Help
|
|||
@del FormatCommandInput.txt
|
||||
@echo Create boot sector ...
|
||||
%BASETOOLS_DIR%\Genbootsector.exe -i %EFI_BOOT_DISK% -o FDBs.com
|
||||
%BASETOOLS_DIR%\Bootsectimage.exe -g FDBs.com %BOOTSECTOR_BIN_DIR%\Bootsect.com -f
|
||||
@copy %BOOTSECTOR_BIN_DIR%\Bootsect.com FDBs-1.com
|
||||
%BASETOOLS_DIR%\Bootsectimage.exe -g FDBs.com FDBs-1.com -f
|
||||
@REM @del FDBS.com
|
||||
%BASETOOLS_DIR%\Genbootsector.exe -o %EFI_BOOT_DISK% -i %BOOTSECTOR_BIN_DIR%\Bootsect.com
|
||||
%BASETOOLS_DIR%\Genbootsector.exe -o %EFI_BOOT_DISK% -i FDBs-1.com
|
||||
@del FDBs-1.com
|
||||
@echo Done.
|
||||
copy %BUILD_DIR%\FV\EfiLdr %EFI_BOOT_DISK%
|
||||
mkdir %EFI_BOOT_DISK%\efi\boot
|
||||
|
@ -68,9 +70,11 @@ mkdir %EFI_BOOT_DISK%\efi\boot
|
|||
@echo Start to create file boot disk ...
|
||||
@echo Create boot sector ...
|
||||
%BASETOOLS_DIR%\Genbootsector.exe -i %EFI_BOOT_DISK% -o FDBs.com
|
||||
%BASETOOLS_DIR%\Bootsectimage.exe -g FDBs.com %BOOTSECTOR_BIN_DIR%\Bootsect.com -f
|
||||
copy %BOOTSECTOR_BIN_DIR%\Bootsect.com FDBs-1.com
|
||||
%BASETOOLS_DIR%\Bootsectimage.exe -g FDBs.com FDBs-1.com -f
|
||||
@REM @del FDBS.com
|
||||
%BASETOOLS_DIR%\Genbootsector.exe -o %EFI_BOOT_DISK% -i %BOOTSECTOR_BIN_DIR%\Bootsect.com
|
||||
%BASETOOLS_DIR%\Genbootsector.exe -o %EFI_BOOT_DISK% -i FDBs-1.com
|
||||
@del FDBs-1.com
|
||||
@echo Done.
|
||||
@goto end
|
||||
|
||||
|
@ -88,8 +92,10 @@ mkdir %EFI_BOOT_DISK%\efi\boot
|
|||
@del FormatCommandInput.txt
|
||||
@echo Create boot sector ...
|
||||
@%BASETOOLS_DIR%\Genbootsector.exe -i %EFI_BOOT_DISK% -o UsbBs16.com
|
||||
@%BASETOOLS_DIR%\Bootsectimage.exe -g UsbBs16.com %BOOTSECTOR_BIN_DIR%\Bs16.com -f
|
||||
@%BASETOOLS_DIR%\Genbootsector.exe -o %EFI_BOOT_DISK% -i %BOOTSECTOR_BIN_DIR%\Bs16.com
|
||||
@copy %BOOTSECTOR_BIN_DIR%\Bs16.com Bs16-1.com
|
||||
@%BASETOOLS_DIR%\Bootsectimage.exe -g UsbBs16.com Bs16-1.com -f
|
||||
@%BASETOOLS_DIR%\Genbootsector.exe -o %EFI_BOOT_DISK% -i Bs16-1.com
|
||||
@del Bs16-1.com
|
||||
@%BASETOOLS_DIR%\Genbootsector.exe -m -o %EFI_BOOT_DISK% -i %BOOTSECTOR_BIN_DIR%\Mbr.com
|
||||
@echo Done.
|
||||
@echo PLEASE UNPLUG USB, THEN PLUG IT AGAIN!
|
||||
|
@ -110,9 +116,11 @@ mkdir %EFI_BOOT_DISK%\efi\boot
|
|||
@del FormatCommandInput.txt
|
||||
@echo Create boot sector ...
|
||||
@%BASETOOLS_DIR%\Genbootsector.exe -i %EFI_BOOT_DISK% -o UsbBs32.com
|
||||
@%BASETOOLS_DIR%\Bootsectimage.exe -g UsbBs32.com %BOOTSECTOR_BIN_DIR%\Bs32.com -f
|
||||
@copy %BOOTSECTOR_BIN_DIR%\Bs32.com Bs32-1.com
|
||||
@%BASETOOLS_DIR%\Bootsectimage.exe -g UsbBs32.com Bs32-1.com -f
|
||||
@del UsbBs32.com
|
||||
@%BASETOOLS_DIR%\Genbootsector.exe -o %EFI_BOOT_DISK% -i %BOOTSECTOR_BIN_DIR%\Bs32.com
|
||||
@%BASETOOLS_DIR%\Genbootsector.exe -o %EFI_BOOT_DISK% -i Bs32-1.com
|
||||
@del Bs32-1.com
|
||||
@%BASETOOLS_DIR%\Genbootsector.exe -m -o %EFI_BOOT_DISK% -i %BOOTSECTOR_BIN_DIR%\Mbr.com
|
||||
@echo Done.
|
||||
@echo PLEASE UNPLUG USB, THEN PLUG IT AGAIN!
|
||||
|
|
|
@ -79,9 +79,10 @@ then
|
|||
echo Create boot sector ...
|
||||
## Linux version of GenBootSector has not pass build yet.
|
||||
$BASETOOLS_DIR/GnuGenBootSector -i $EFI_BOOT_DEVICE -o FDBs.com
|
||||
$BASETOOLS_DIR/BootSectImage -g FDBs.com $BOOTSECTOR_BIN_DIR/bootsect.com -f
|
||||
$BASETOOLS_DIR/GnuGenBootSector -o $EFI_BOOT_DEVICE -i $BOOTSECTOR_BIN_DIR/bootsect.com
|
||||
|
||||
cp $BOOTSECTOR_BIN_DIR/bootsect.com FDBs-1.com
|
||||
$BASETOOLS_DIR/BootSectImage -g FDBs.com FDBs-1.com -f
|
||||
$BASETOOLS_DIR/GnuGenBootSector -o $EFI_BOOT_DEVICE -i FDBs-1.com
|
||||
rm FDBs-1.com
|
||||
cp $BUILD_DIR/FV/Efildr $EFI_BOOT_MEDIA
|
||||
|
||||
mkdir -p $EFI_BOOT_MEDIA/efi
|
||||
|
@ -161,8 +162,10 @@ then
|
|||
echo Create boot sector ...
|
||||
## Linux version of GenBootSector & Bootsectimage has not pass build yet.
|
||||
$BASETOOLS_DIR/GnuGenBootSector -i $EFI_BOOT_DEVICE -o UsbBs16.com
|
||||
$BASETOOLS_DIR/BootSectImage -g UsbBs16.com $BOOTSECTOR_BIN_DIR/bs16.com -f
|
||||
$BASETOOLS_DIR/GnuGenBootSector -o $EFI_BOOT_DEVICE -i $BOOTSECTOR_BIN_DIR/bs16.com
|
||||
cp $BOOTSECTOR_BIN_DIR/bs16.com Bs16-1.com
|
||||
$BASETOOLS_DIR/BootSectImage -g UsbBs16.com Bs16-1.com -f
|
||||
$BASETOOLS_DIR/GnuGenBootSector -o $EFI_BOOT_DEVICE -i Bs16-1.com
|
||||
rm Bs16-1.com
|
||||
$BASETOOLS_DIR/GnuGenBootSector -m -o $EFI_BOOT_DEVICE -i $BOOTSECTOR_BIN_DIR/Mbr.com
|
||||
echo Done.
|
||||
echo PLEASE UNPLUG USB, THEN PLUG IT AGAIN TO DO STEP2!
|
||||
|
@ -191,8 +194,10 @@ then
|
|||
echo Create boot sector ...
|
||||
## Linux version of GenBootSector & Bootsectimage has not pass build yet.
|
||||
$BASETOOLS_DIR/GnuGenBootSector -i $EFI_BOOT_DEVICE -o UsbBs32.com
|
||||
$BASETOOLS_DIR/BootSectImage -g UsbBs32.com $BOOTSECTOR_BIN_DIR/bs32.com -f
|
||||
$BASETOOLS_DIR/GnuGenBootSector -o $EFI_BOOT_DEVICE -i $BOOTSECTOR_BIN_DIR/bs32.com
|
||||
cp $BOOTSECTOR_BIN_DIR/bs32.com Bs32-1.com
|
||||
$BASETOOLS_DIR/BootSectImage -g UsbBs32.com Bs32-1.com -f
|
||||
$BASETOOLS_DIR/GnuGenBootSector -o $EFI_BOOT_DEVICE -i Bs32-1.com
|
||||
rm Bs32-1.com
|
||||
$BASETOOLS_DIR/GnuGenBootSector -m -o $EFI_BOOT_DEVICE -i $BOOTSECTOR_BIN_DIR/Mbr.com
|
||||
echo Done.
|
||||
echo PLEASE UNPLUG USB, THEN PLUG IT AGAIN TO DO STEP2!
|
||||
|
|
Loading…
Reference in New Issue