]> git.proxmox.com Git - mirror_edk2.git/blob - BaseTools/Source/C/LzmaCompress/LzmaF86Compress.bat
BaseTools: Replace BSD License with BSD+Patent License
[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 SPDX-License-Identifier: BSD-2-Clause-Patent
7 @REM
8
9 @echo off
10 @setlocal
11
12 :Begin
13 if "%1"=="" goto End
14 if "%1"=="-e" (
15 set FLAG=--f86
16 )
17 if "%1"=="-d" (
18 set FLAG=--f86
19 )
20 set ARGS=%ARGS% %1
21 shift
22 goto Begin
23
24 :End
25 LzmaCompress %ARGS% %FLAG%
26 @echo on