From 5ef6e0d315f3aff26abba428c8be7ba20bfe9955 Mon Sep 17 00:00:00 2001 From: lgao4 Date: Tue, 10 Apr 2012 07:28:51 +0000 Subject: Sync BaseTools Trunk (version r2518) to EDKII main trunk. Signed-off-by: Liming Gao git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13180 6f19259b-4bc3-4df7-8a09-765794883524 --- BaseTools/Bin/CYGWIN_NT-5.1-i686/LzmaF86Compress | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 BaseTools/Bin/CYGWIN_NT-5.1-i686/LzmaF86Compress (limited to 'BaseTools/Bin') diff --git a/BaseTools/Bin/CYGWIN_NT-5.1-i686/LzmaF86Compress b/BaseTools/Bin/CYGWIN_NT-5.1-i686/LzmaF86Compress new file mode 100755 index 0000000000..c3e49cf29d --- /dev/null +++ b/BaseTools/Bin/CYGWIN_NT-5.1-i686/LzmaF86Compress @@ -0,0 +1,22 @@ +#!/usr/bin/env bash +# +# This script will exec LzmaCompress tool with --f86 option that enables converter for x86 code. +# +# Copyright (c) 2012, Intel Corporation. All rights reserved.
+# This program and the accompanying materials +# are licensed and made available under the terms and conditions of the BSD License +# which accompanies this distribution. The full text of the license may be found at +# http://opensource.org/licenses/bsd-license.php +# +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +# + +for arg in $*; do + if [ "arg" = "-e" -o "arg" = "-d" ]; then + FLAG=--f86 + break; + fi +done + +LzmaCompress $* $FLAG -- cgit v1.2.3