summaryrefslogtreecommitdiff
path: root/BaseTools/BinWrappers/PosixLike
diff options
context:
space:
mode:
authorLiming Gao <liming.gao@intel.com>2019-07-10 23:25:18 +0800
committerLiming Gao <liming.gao@intel.com>2019-07-11 11:17:44 +0800
commitb9479a7f7b1cbe7ddb293022710552c0d6f6aa2e (patch)
tree61086ff5e29e51d4bb09fd4730da16bbe079e509 /BaseTools/BinWrappers/PosixLike
parent60ec54afc34cbbd778be913a52a56e542f8214ef (diff)
downloadedk2-b9479a7f7b1cbe7ddb293022710552c0d6f6aa2e.zip
edk2-b9479a7f7b1cbe7ddb293022710552c0d6f6aa2e.tar.gz
edk2-b9479a7f7b1cbe7ddb293022710552c0d6f6aa2e.tar.bz2
Revert "BaseTools/FMMT: Add a tool FMMT"
This reverts commit 080981d72dcbb782ad73716c439639324b0aa4dd. There are the concerns on code design and code quality, and request to rewrite FCE, BfmLib and FMMT for the review. Cc: Leif Lindholm <leif.lindholm@linaro.org> Cc: Feng Bob C <bob.c.feng@intel.com> Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Feng Bob C <bob.c.feng@intel.com>
Diffstat (limited to 'BaseTools/BinWrappers/PosixLike')
-rwxr-xr-xBaseTools/BinWrappers/PosixLike/FMMT29
1 files changed, 0 insertions, 29 deletions
diff --git a/BaseTools/BinWrappers/PosixLike/FMMT b/BaseTools/BinWrappers/PosixLike/FMMT
deleted file mode 100755
index a244ecc..0000000
--- a/BaseTools/BinWrappers/PosixLike/FMMT
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env bash
-
-full_cmd=${BASH_SOURCE:-$0} # see http://mywiki.wooledge.org/BashFAQ/028 for a discussion of why $0 is not a good choice here
-dir=$(dirname "$full_cmd")
-cmd=${full_cmd##*/}
-
-if [ -n "$WORKSPACE" ] && [ -e "$WORKSPACE/Conf/BaseToolsCBinaries" ]
-then
- exec "$WORKSPACE/Conf/BaseToolsCBinaries/$cmd"
-elif [ -n "$WORKSPACE" ] && [ -e "$EDK_TOOLS_PATH/Source/C" ]
-then
- if [ ! -e "$EDK_TOOLS_PATH/Source/C/bin/$cmd" ]
- then
- echo "BaseTools C Tool binary was not found ($cmd)"
- echo "You may need to run:"
- echo " make -C $EDK_TOOLS_PATH/Source/C"
- else
- exec "$EDK_TOOLS_PATH/Source/C/bin/$cmd" "$@"
- fi
-elif [ -e "$dir/../../Source/C/bin/$cmd" ]
-then
- exec "$dir/../../Source/C/bin/$cmd" "$@"
-else
- echo "Unable to find the real '$cmd' to run"
- echo "This message was printed by"
- echo " $0"
- exit 127
-fi
-