@echo off\r
@REM ## @file\r
@REM #\r
-@REM # Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>\r
+@REM # Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved.<BR>\r
@REM #\r
@REM # This program and the accompanying materials\r
@REM # are licensed and made available under the terms and conditions of the BSD License\r
\r
@REM Set up environment at first.\r
\r
-set BASETOOLS_DIR=%WORKSPACE_TOOLS_PATH%\Bin\Win32\r
+set BASETOOLS_DIR=%EDK_TOOLS_BIN%\r
set BOOTSECTOR_BIN_DIR=%WORKSPACE%\DuetPkg\BootSector\bin\r
set DISK_LABEL=DUET\r
set PROCESSOR=""\r
set STEP=1\r
-call %WORKSPACE%\DuetPkg\GetVariables.bat\r
-\r
-echo on\r
\r
if "%1"=="" goto Help\r
if "%2"=="" goto Help\r
if "%TARGET_ARCH%"=="IA32" set PROCESSOR=IA32\r
if "%TARGET_ARCH%"=="X64" set PROCESSOR=X64\r
if %PROCESSOR%=="" goto WrongArch\r
+call %WORKSPACE%\DuetPkg\SetEnv_%PROCESSOR%.bat\r
set BUILD_DIR=%WORKSPACE%\Build\DuetPkg%PROCESSOR%\%TARGET%_%TOOL_CHAIN_TAG%\r
\r
if "%1"=="floppy" goto CreateFloppy\r