]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Makefile
Sync BaseTool trunk (version r2599) into EDKII BaseTools.
[mirror_edk2.git] / BaseTools / Source / Python / Makefile
index fec8b43646dfe9dab35fda22cd11724698449c3c..a3a537c3524802e81b42a6a5754f6466874001f7 100644 (file)
 !ERROR PYTHON_FREEZER_PATH must be defined!\r
 !ENDIF\r
 \r
+!IF EXIST ($(PYTHON_FREEZER_PATH)\cxfreeze)\r
+# Using cx_Freeze 4.2.3 with Python 2.7.2\r
+FREEZE=$(PYTHON_FREEZER_PATH)\cxfreeze\r
+!ELSE\r
+# Using cx_Freeze 3.0.3 with Python 2.5.4\r
 FREEZE=$(PYTHON_FREEZER_PATH)\FreezePython.exe\r
+!ENDIF\r
 \r
 MODULES=encodings.cp437,encodings.gbk,encodings.utf_16,encodings.utf_8,encodings.utf_16_le,encodings.latin_1,encodings.ascii\r
 \r