]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/CreateBootDisk.bat
Separate IA32/X64 architecture into two DSC file to avoid the their output mixup.
[mirror_edk2.git] / DuetPkg / CreateBootDisk.bat
index ec8483d78551decc2845f13a65068f87aecdfd10..4c5f2ce87f1dbc71cfb24fdffaec751e2c76e40d 100644 (file)
@@ -15,7 +15,6 @@
 @REM Set up environment at fisrt.\r
 \r
 @set BASETOOLS_DIR=%WORKSPACE_TOOLS_PATH%\Bin\Win32\r
-@set BUILD_DIR=%WORKSPACE%\Build\DuetPkg\DEBUG_MYTOOLS\r
 @set BOOTSECTOR_BIN_DIR=%WORKSPACE%\DuetPkg\BootSector\bin\r
 @set DISK_LABEL=DUET\r
 @set PROCESSOR=""\r
@@ -30,6 +29,8 @@
 @if "%4"=="IA32" set PROCESSOR=IA32\r
 @if "%4"=="X64" set PROCESSOR=X64\r
 @if %PROCESSOR%=="" goto WrongArch\r
+@set BUILD_DIR=%WORKSPACE%\Build\DuetPkg%PROCESSOR%\DEBUG_MYTOOLS\r
+\r
 @if "%1"=="floppy" goto CreateFloppy\r
 @if "%1"=="file" goto CreateFile\r
 @if "%1"=="usb" goto CreateUsb\r