]> git.proxmox.com Git - mirror_edk2.git/blame - BaseTools/Source/C/LzmaCompress/LzmaF86Compress.bat
BaseTools: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / BaseTools / Source / C / LzmaCompress / LzmaF86Compress.bat
CommitLineData
97fa0ee9 1@REM @file\r
f7496d71 2@REM This script will exec LzmaCompress tool with --f86 option that enables\r
97fa0ee9 3@REM converter for x86 code.\r
64b2609f 4@REM\r
f7496d71 5@REM Copyright (c) 2012 - 2018, Intel Corporation. All rights reserved.<BR>\r
2e351cbe 6@REM SPDX-License-Identifier: BSD-2-Clause-Patent\r
64b2609f
LG
7@REM\r
8\r
9@echo off\r
10@setlocal\r
11\r
12:Begin\r
13if "%1"=="" goto End\r
14if "%1"=="-e" (\r
15 set FLAG=--f86\r
16)\r
17if "%1"=="-d" (\r
18 set FLAG=--f86\r
19)\r
20set ARGS=%ARGS% %1\r
21shift\r
22goto Begin\r
23\r
24:End\r
25LzmaCompress %ARGS% %FLAG%\r
26@echo on\r