]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/CreateBootDisk.bat
Fix the issue that GCC treat enum type as unsigned int which incompatible with UEFI...
[mirror_edk2.git] / DuetPkg / CreateBootDisk.bat
index e4e1369cd448c08585ddb623c5c411355fe25471..4c5f2ce87f1dbc71cfb24fdffaec751e2c76e40d 100644 (file)
@@ -1,9 +1,20 @@
-@REM\r
+@REM ## @file\r
+@REM #\r
+@REM #  Copyright (c) 2010 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
+@REM #  which accompanies this distribution. The full text of the license may be found at\r
+@REM #  http://opensource.org/licenses/bsd-license.php\r
+@REM #  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+@REM #  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+@REM #\r
+@REM #\r
+@REM ##\r
 \r
 @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
@@ -18,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