summaryrefslogtreecommitdiffstats
path: root/BaseTools/BinWrappers
diff options
context:
space:
mode:
authorYonghong Zhu <yonghong.zhu@intel.com>2016-12-19 10:52:20 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2016-12-20 09:15:38 +0800
commit83c6c3bfe293cd0a5983375dfbf46d4f364b38aa (patch)
tree3d8cace5ccfc761172ab8110eee5d2bc7216e9c3 /BaseTools/BinWrappers
parent15dae68589243726f0374e535a77e76444096bad (diff)
downloadedk2-83c6c3bfe293cd0a5983375dfbf46d4f364b38aa.tar.gz
edk2-83c6c3bfe293cd0a5983375dfbf46d4f364b38aa.tar.bz2
edk2-83c6c3bfe293cd0a5983375dfbf46d4f364b38aa.zip
BaseTools: Correct bin wrappers for GenDepex.py path
The WindowsLike and PosixLike bin wrappers for GenDepex.py do not use correct path. GenDepex.py is not in a GenDepex directory. Instead, it is in the AutoGen directory. Fixes: https://bugzilla.tianocore.org/show_bug.cgi?id=292 Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/BinWrappers')
-rwxr-xr-xBaseTools/BinWrappers/PosixLike/GenDepex2
-rw-r--r--BaseTools/BinWrappers/WindowsLike/GenDepex.bat2
2 files changed, 2 insertions, 2 deletions
diff --git a/BaseTools/BinWrappers/PosixLike/GenDepex b/BaseTools/BinWrappers/PosixLike/GenDepex
index 214d88fff1..bdb6722a1f 100755
--- a/BaseTools/BinWrappers/PosixLike/GenDepex
+++ b/BaseTools/BinWrappers/PosixLike/GenDepex
@@ -11,4 +11,4 @@ dir=$(dirname "$full_cmd")
cmd=${full_cmd##*/}
export PYTHONPATH="$dir/../../Source/Python"
-exec "${python_exe:-python}" "$dir/../../Source/Python/$cmd/$cmd.py" "$@"
+exec "${python_exe:-python}" "$dir/../../Source/Python/AutoGen/$cmd.py" "$@"
diff --git a/BaseTools/BinWrappers/WindowsLike/GenDepex.bat b/BaseTools/BinWrappers/WindowsLike/GenDepex.bat
index 9fbb704a6e..ffc783d2be 100644
--- a/BaseTools/BinWrappers/WindowsLike/GenDepex.bat
+++ b/BaseTools/BinWrappers/WindowsLike/GenDepex.bat
@@ -1,3 +1,3 @@
@setlocal
@set ToolName=%~n0%
-@%PYTHON_HOME%\python.exe %BASE_TOOLS_PATH%\Source\Python\%ToolName%\%ToolName%.py %*
+@%PYTHON_HOME%\python.exe %BASE_TOOLS_PATH%\Source\Python\AutoGen\%ToolName%.py %*