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