]> git.proxmox.com Git - mirror_edk2.git/blob - BaseTools/Source/C/LzmaCompress/LzmaF86Compress.bat
77749dfd16e1e9e797387eea1a125a0a2598320b
[mirror_edk2.git] / BaseTools / Source / C / LzmaCompress / LzmaF86Compress.bat
1 @REM
2 @REM This script will exec LzmaCompress tool with --f86 option that enables converter for x86 code.
3 @REM
4 @REM Copyright (c) 2012, Intel Corporation. All rights reserved.<BR>
5 @REM This program and the accompanying materials
6 @REM are licensed and made available under the terms and conditions of the BSD License
7 @REM which accompanies this distribution. The full text of the license may be found at
8 @REM http://opensource.org/licenses/bsd-license.php
9 @REM
10 @REM THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 @REM WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12 @REM
13
14 @echo off
15 @setlocal
16
17 :Begin
18 if "%1"=="" goto End
19 if "%1"=="-e" (
20 set FLAG=--f86
21 )
22 if "%1"=="-d" (
23 set FLAG=--f86
24 )
25 set ARGS=%ARGS% %1
26 shift
27 goto Begin
28
29 :End
30 LzmaCompress %ARGS% %FLAG%
31 @echo on