]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Bin/Win32/LzmaF86Compress.bat
Sync BaseTools Trunk (version r2518) to EDKII main trunk.
[mirror_edk2.git] / BaseTools / Bin / Win32 / LzmaF86Compress.bat
diff --git a/BaseTools/Bin/Win32/LzmaF86Compress.bat b/BaseTools/Bin/Win32/LzmaF86Compress.bat
new file mode 100644 (file)
index 0000000..2154721
--- /dev/null
@@ -0,0 +1,29 @@
+@REM\r
+@REM Copyright (c) 2012, Intel Corporation. All rights reserved.<BR>\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\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
+\r
+@echo off\r
+@setlocal\r
+\r
+:Begin\r
+if "%1"=="" goto End\r
+if "%1"=="-e" (\r
+  set FLAG=--f86\r
+)\r
+if "%1"=="-d" (\r
+  set FLAG=--f86\r
+)\r
+set ARGS=%ARGS% %1\r
+shift\r
+goto Begin\r
+\r
+:End\r
+LzmaCompress %ARGS% %FLAG%\r
+@echo on
\ No newline at end of file