]> git.proxmox.com Git - mirror_edk2.git/blame - BaseTools/BinWrappers/PosixLike/LzmaF86Compress
BaseTools: Treat BPDG.py as a python module
[mirror_edk2.git] / BaseTools / BinWrappers / PosixLike / LzmaF86Compress
CommitLineData
5ef6e0d3
LG
1#!/usr/bin/env bash
2#
3# This script will exec LzmaCompress tool with --f86 option that enables converter for x86 code.
4#
f285d021 5# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
5ef6e0d3
LG
6# Copyright (c) 2012, Intel Corporation. All rights reserved.<BR>
7# This program and the accompanying materials
8# are licensed and made available under the terms and conditions of the BSD License
9# which accompanies this distribution. The full text of the license may be found at
10# http://opensource.org/licenses/bsd-license.php
f285d021 11#
5ef6e0d3
LG
12# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14#
15
8d0776f3
CD
16for arg; do
17 case $arg in
18 -e|-d)
19 set -- "$@" --f86
20 break
21 ;;
f285d021
TP
22 esac
23done
5ef6e0d3 24
8d0776f3 25exec LzmaCompress "$@"