]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/toolsetup.bat
edksetup.bat: Support --nt32 X64
[mirror_edk2.git] / BaseTools / toolsetup.bat
index 21f5b76e4b1c641755ff1ea26b62297f79a85246..17b723954fa8021a49e62c16d439e63bfab86ddd 100755 (executable)
@@ -4,6 +4,7 @@
 @REM   if the file is not executed within a WORKSPACE\BaseTools folder.\r
 @REM\r
 @REM Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>\r
+@REM (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
 @REM\r
 @REM This program and the accompanying materials are licensed and made available\r
 @REM under the terms and conditions of the BSD License which accompanies this \r
@@ -33,6 +34,9 @@ if /I "%1"=="/?" goto Usage
 :loop\r
   if "%1"=="" goto setup_workspace\r
   if /I "%1"=="--nt32" (\r
+    if /I "%2" == "X64" (\r
+      shift\r
+    )\r
     @REM Ignore --nt32 flag\r
     shift\r
     goto loop\r