From 4afd3d042215afe68d00b9ab8c32f063a3a1c03f Mon Sep 17 00:00:00 2001 From: Liming Gao Date: Fri, 23 Aug 2013 02:18:16 +0000 Subject: Sync BaseTool trunk (version r2599) into EDKII BaseTools. Signed-off-by: Liming Gao Reviewed-by: Heshen Chen git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14591 6f19259b-4bc3-4df7-8a09-765794883524 --- BaseTools/Source/Python/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'BaseTools/Source/Python/Makefile') diff --git a/BaseTools/Source/Python/Makefile b/BaseTools/Source/Python/Makefile index fec8b43646..a3a537c352 100644 --- a/BaseTools/Source/Python/Makefile +++ b/BaseTools/Source/Python/Makefile @@ -15,7 +15,13 @@ !ERROR PYTHON_FREEZER_PATH must be defined! !ENDIF +!IF EXIST ($(PYTHON_FREEZER_PATH)\cxfreeze) +# Using cx_Freeze 4.2.3 with Python 2.7.2 +FREEZE=$(PYTHON_FREEZER_PATH)\cxfreeze +!ELSE +# Using cx_Freeze 3.0.3 with Python 2.5.4 FREEZE=$(PYTHON_FREEZER_PATH)\FreezePython.exe +!ENDIF MODULES=encodings.cp437,encodings.gbk,encodings.utf_16,encodings.utf_8,encodings.utf_16_le,encodings.latin_1,encodings.ascii -- cgit v1.2.3