summaryrefslogtreecommitdiff
path: root/BaseTools/Source
diff options
context:
space:
mode:
authorMarvin Haeuser <Marvin.Haeuser@outlook.com>2016-02-21 08:46:59 +0800
committerHao Wu <hao.a.wu@intel.com>2016-07-13 09:30:35 +0800
commit482a59422a6c9b34f1b863d09974f7a6b26dde46 (patch)
tree415dfe06a05f8220eb5937406ddd49bc5fac1b7b /BaseTools/Source
parent474bd99af76158a2cab70cfb9bdfc383d75efa24 (diff)
downloadedk2-platforms-482a59422a6c9b34f1b863d09974f7a6b26dde46.tar.xz
BaseTools: Support recent versions of cx_freeze.
This patch fixes the assumed invalid command to start recent versions of cx_freeze on Windows, which are python and not Windows executables. To launch them correctly, the '$(PYTHON_HOME)\python' prefix has been added, so that Python can interpret the tool. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com> (cherry picked from commit 89a811538e24fd598b9267b888c4ab4c2556dae2)
Diffstat (limited to 'BaseTools/Source')
-rw-r--r--BaseTools/Source/Python/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Makefile b/BaseTools/Source/Python/Makefile
index 4eea515d9b..8bc213b47c 100644
--- a/BaseTools/Source/Python/Makefile
+++ b/BaseTools/Source/Python/Makefile
@@ -17,7 +17,7 @@
!IF EXIST ($(PYTHON_FREEZER_PATH)\cxfreeze)
# Using cx_Freeze 4.2.3 with Python 2.7.2
-FREEZE=$(PYTHON_FREEZER_PATH)\cxfreeze
+FREEZE=$(PYTHON_HOME)\python $(PYTHON_FREEZER_PATH)\cxfreeze
!ELSE
# Using cx_Freeze 3.0.3 with Python 2.5.4
FREEZE=$(PYTHON_FREEZER_PATH)\FreezePython.exe