Reviewed-by: Yonghong Zhu <[email protected]>

I will push this patch to Git Repository.

Best Regards,

Zhu Yonghong


-----Original Message-----
From: Marvin Haeuser [mailto:[email protected]] 
Sent: Sunday, February 21, 2016 8:47 AM
To: [email protected]
Cc: Gao, Liming; Zhu, Yonghong
Subject: [PATCH v1 1/1] 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 Häuser <[email protected]>
---
 BaseTools/Source/Python/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/BaseTools/Source/Python/Makefile b/BaseTools/Source/Python/Makefile
index 4eea515d9b9c..8bc213b47c2e 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
--
2.7.0.windows.1

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to