summaryrefslogtreecommitdiff
path: root/BaseTools/Bin
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2012-04-10 07:28:51 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2012-04-10 07:28:51 +0000
commit5ef6e0d315f3aff26abba428c8be7ba20bfe9955 (patch)
tree874d4b3f0342416be0a2a8af51e0df6acda83830 /BaseTools/Bin
parentea971ce69bc31cb299c73274c0fda0017ccecaea (diff)
downloadedk2-platforms-5ef6e0d315f3aff26abba428c8be7ba20bfe9955.tar.xz
Sync BaseTools Trunk (version r2518) to EDKII main trunk.
Signed-off-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13180 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools/Bin')
-rwxr-xr-xBaseTools/Bin/CYGWIN_NT-5.1-i686/LzmaF86Compress22
1 files changed, 22 insertions, 0 deletions
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.<BR>
+# 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