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