]> git.proxmox.com Git - mirror_edk2.git/blob - BaseTools/BinWrappers/PosixLike/LzmaF86Compress
BaseTools: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / BaseTools / BinWrappers / PosixLike / LzmaF86Compress
1 #!/usr/bin/env bash
2 #
3 # This script will exec LzmaCompress tool with --f86 option that enables converter for x86 code.
4 #
5 # (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
6 # Copyright (c) 2012, Intel Corporation. All rights reserved.<BR>
7 # SPDX-License-Identifier: BSD-2-Clause-Patent
8 #
9
10 for arg; do
11 case $arg in
12 -e|-d)
13 set -- "$@" --f86
14 break
15 ;;
16 esac
17 done
18
19 exec LzmaCompress "$@"