summaryrefslogtreecommitdiff
path: root/BaseTools/BinWrappers/PosixLike/GenericShellWrapper
diff options
context:
space:
mode:
authorMichael D Kinney <michael.d.kinney@intel.com>2026-02-11 10:00:05 -0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-02-11 22:53:29 +0000
commit12f785f106216eedbedb02427255e257d506367f (patch)
treea03deedfa139fbdbb9c57b43fb20ae83ccd1721b /BaseTools/BinWrappers/PosixLike/GenericShellWrapper
parente1c56cf5d54f469dece5c2678c1ea6841b4fe4fa (diff)
downloadedk2-master.zip
edk2-master.tar.gz
edk2-master.tar.bz2
Revert "BaseTools: Add support for out-of-tree builds"HEADmaster
This reverts commit 3fe1d56cc98e011bbde8348f13dfa5e38c95f49e. PR https://github.com/tianocore/edk2/pull/11757 introduced a "Breaking Change" feature for out of tree builds of tools. This breaking change is blocking testing of edk2-stable202602 due to side effects on building FitGen tool in edk2-platforms. Revert this feature for the edk2-stable202602 release and work on this feature after the release. Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'BaseTools/BinWrappers/PosixLike/GenericShellWrapper')
-rwxr-xr-xBaseTools/BinWrappers/PosixLike/GenericShellWrapper8
1 files changed, 1 insertions, 7 deletions
diff --git a/BaseTools/BinWrappers/PosixLike/GenericShellWrapper b/BaseTools/BinWrappers/PosixLike/GenericShellWrapper
index 8aeff63..dae593f 100755
--- a/BaseTools/BinWrappers/PosixLike/GenericShellWrapper
+++ b/BaseTools/BinWrappers/PosixLike/GenericShellWrapper
@@ -4,13 +4,7 @@ full_cmd=${BASH_SOURCE[-1]:-$0} # see http://mywiki.wooledge.org/BashFAQ/028 for
dir=$(dirname "$full_cmd")
cmd=${full_cmd##*/}
-if [ -n "$WORKSPACE" ] && [ -e "$WORKSPACE/BaseTools/Build/Source/C/bin" ]
-then
- if [ -e "$WORKSPACE/BaseTools/Build/Source/C/bin/$cmd" ]
- then
- exec "$WORKSPACE/BaseTools/Build/Source/C/bin/$cmd" "$@"
- fi
-elif [ -n "$EDK_TOOLS_PATH" ] && [ -e "$EDK_TOOLS_PATH/Source/C/bin" ]
+if [ -n "$EDK_TOOLS_PATH" ] && [ -e "$EDK_TOOLS_PATH/Source/C/bin" ]
then
if [ -e "$EDK_TOOLS_PATH/Source/C/bin/$cmd" ]
then