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
13if "%1"=="" goto End
14if "%1"=="-e" (
15  set FLAG=--f86
16)
17if "%1"=="-d" (
18  set FLAG=--f86
19)
20set ARGS=%ARGS% %1
21shift
22goto Begin
23
24:End
25LzmaCompress %ARGS% %FLAG%
26@echo on
27