15ef6e0d315f3aff26abba428c8be7ba20bfe9955lgao#!/usr/bin/env bash 25ef6e0d315f3aff26abba428c8be7ba20bfe9955lgao# 35ef6e0d315f3aff26abba428c8be7ba20bfe9955lgao# This script will exec LzmaCompress tool with --f86 option that enables converter for x86 code. 45ef6e0d315f3aff26abba428c8be7ba20bfe9955lgao# 55ef6e0d315f3aff26abba428c8be7ba20bfe9955lgao# Copyright (c) 2012, Intel Corporation. All rights reserved.<BR> 65ef6e0d315f3aff26abba428c8be7ba20bfe9955lgao# This program and the accompanying materials 75ef6e0d315f3aff26abba428c8be7ba20bfe9955lgao# are licensed and made available under the terms and conditions of the BSD License 85ef6e0d315f3aff26abba428c8be7ba20bfe9955lgao# which accompanies this distribution. The full text of the license may be found at 95ef6e0d315f3aff26abba428c8be7ba20bfe9955lgao# http://opensource.org/licenses/bsd-license.php 105ef6e0d315f3aff26abba428c8be7ba20bfe9955lgao# 115ef6e0d315f3aff26abba428c8be7ba20bfe9955lgao# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 125ef6e0d315f3aff26abba428c8be7ba20bfe9955lgao# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 135ef6e0d315f3aff26abba428c8be7ba20bfe9955lgao# 145ef6e0d315f3aff26abba428c8be7ba20bfe9955lgao 155ef6e0d315f3aff26abba428c8be7ba20bfe9955lgaofor arg in $*; do 162a618e50b510c49441aa4c0bf54827a1571b3793Liming Gao if [ "$arg" = "-e" -o "$arg" = "-d" ]; then 175ef6e0d315f3aff26abba428c8be7ba20bfe9955lgao FLAG=--f86 185ef6e0d315f3aff26abba428c8be7ba20bfe9955lgao break; 195ef6e0d315f3aff26abba428c8be7ba20bfe9955lgao fi 205ef6e0d315f3aff26abba428c8be7ba20bfe9955lgaodone 215ef6e0d315f3aff26abba428c8be7ba20bfe9955lgao 225ef6e0d315f3aff26abba428c8be7ba20bfe9955lgaoLzmaCompress $* $FLAG 23