AppPkg/Applications/Python: Workaround recent build tool changes which prevent buildi...
authordarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 1 Dec 2011 18:24:25 +0000 (18:24 +0000)
committerdarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 1 Dec 2011 18:24:25 +0000 (18:24 +0000)
Recent changes to the build tools removed user-defined MACRO capability in INF files.  This change manually expands the PYTHON_VERSION macro so that one can again build Python.

Signed-off-by: darylm503
Reviewed-by: geekboy15a
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12810 6f19259b-4bc3-4df7-8a09-765794883524

AppPkg/Applications/Python/PythonCore.inf

index d3834ccbfe455158f4cd039adf4d8119b10f6595..15fac14c66421fe15acd1289d7c73419fdbcadb6 100644 (file)
@@ -19,7 +19,6 @@
   MODULE_TYPE                 = UEFI_APPLICATION\r
   VERSION_STRING              = 0.1\r
   ENTRY_POINT                 = ShellCEntryLib\r
-  PYTHON_VERSION              = 2.7.2\r
 \r
 #\r
 #  VALID_ARCHITECTURES        = IA32 X64 IPF\r
   LibGdtoa\r
   LibWchar\r
   LibMath\r
+  LibGen\r
+  LibNetUtil\r
   DevShell\r
+  BsdSocketLib\r
+  EfiSocketLib\r
 \r
 [Sources]\r
 #EFI -- EFI specific code\r
   Efi/config.c\r
   Efi/getpath.c\r
+  Efi/edk2module.c\r
 \r
 #Parser\r
-  Python-$(PYTHON_VERSION)/Parser/acceler.c\r
-  Python-$(PYTHON_VERSION)/Parser/bitset.c\r
-  Python-$(PYTHON_VERSION)/Parser/firstsets.c\r
-  Python-$(PYTHON_VERSION)/Parser/grammar.c\r
-  Python-$(PYTHON_VERSION)/Parser/grammar1.c\r
-  Python-$(PYTHON_VERSION)/Parser/listnode.c\r
-  Python-$(PYTHON_VERSION)/Parser/metagrammar.c\r
-  Python-$(PYTHON_VERSION)/Parser/myreadline.c\r
-  Python-$(PYTHON_VERSION)/Parser/node.c\r
-  Python-$(PYTHON_VERSION)/Parser/parser.c\r
-  Python-$(PYTHON_VERSION)/Parser/parsetok.c\r
-  Python-$(PYTHON_VERSION)/Parser/tokenizer.c\r
+  Python-2.7.2/Parser/acceler.c\r
+  Python-2.7.2/Parser/bitset.c\r
+  Python-2.7.2/Parser/firstsets.c\r
+  Python-2.7.2/Parser/grammar.c\r
+  Python-2.7.2/Parser/grammar1.c\r
+  Python-2.7.2/Parser/listnode.c\r
+  Python-2.7.2/Parser/metagrammar.c\r
+  Python-2.7.2/Parser/myreadline.c\r
+  Python-2.7.2/Parser/node.c\r
+  Python-2.7.2/Parser/parser.c\r
+  Python-2.7.2/Parser/parsetok.c\r
+  Python-2.7.2/Parser/tokenizer.c\r
 \r
 #Python\r
-  Python-$(PYTHON_VERSION)/Python/_warnings.c\r
-  Python-$(PYTHON_VERSION)/Python/asdl.c\r
-  Python-$(PYTHON_VERSION)/Python/ast.c\r
-  Python-$(PYTHON_VERSION)/Python/bltinmodule.c\r
-  Python-$(PYTHON_VERSION)/Python/ceval.c\r
-  Python-$(PYTHON_VERSION)/Python/codecs.c\r
-  Python-$(PYTHON_VERSION)/Python/compile.c\r
-  Python-$(PYTHON_VERSION)/Python/dtoa.c\r
-  Python-$(PYTHON_VERSION)/Python/dynload_stub.c\r
-  Python-$(PYTHON_VERSION)/Python/errors.c\r
-  Python-$(PYTHON_VERSION)/Python/formatter_string.c\r
-  Python-$(PYTHON_VERSION)/Python/formatter_unicode.c\r
-  Python-$(PYTHON_VERSION)/Python/frozen.c\r
-  Python-$(PYTHON_VERSION)/Python/future.c\r
-  Python-$(PYTHON_VERSION)/Python/getargs.c\r
-  Python-$(PYTHON_VERSION)/Python/getcompiler.c\r
-  Python-$(PYTHON_VERSION)/Python/getcopyright.c\r
-  Python-$(PYTHON_VERSION)/Python/getopt.c\r
-  Python-$(PYTHON_VERSION)/Python/getplatform.c\r
-  Python-$(PYTHON_VERSION)/Python/getversion.c\r
-  Python-$(PYTHON_VERSION)/Python/graminit.c\r
-  Python-$(PYTHON_VERSION)/Python/import.c\r
-  Python-$(PYTHON_VERSION)/Python/importdl.c\r
-  Python-$(PYTHON_VERSION)/Python/marshal.c\r
-  Python-$(PYTHON_VERSION)/Python/modsupport.c\r
-  Python-$(PYTHON_VERSION)/Python/mysnprintf.c\r
-  Python-$(PYTHON_VERSION)/Python/mystrtoul.c\r
-  Python-$(PYTHON_VERSION)/Python/peephole.c\r
-  Python-$(PYTHON_VERSION)/Python/pyarena.c\r
-  Python-$(PYTHON_VERSION)/Python/pyctype.c\r
-  Python-$(PYTHON_VERSION)/Python/pyfpe.c\r
-  Python-$(PYTHON_VERSION)/Python/pymath.c\r
-  Python-$(PYTHON_VERSION)/Python/pystate.c\r
-  Python-$(PYTHON_VERSION)/Python/pystrcmp.c\r
-  Python-$(PYTHON_VERSION)/Python/pystrtod.c\r
-  Python-$(PYTHON_VERSION)/Python/Python-ast.c\r
-  Python-$(PYTHON_VERSION)/Python/pythonrun.c\r
-  Python-$(PYTHON_VERSION)/Python/structmember.c\r
-  Python-$(PYTHON_VERSION)/Python/symtable.c\r
-  Python-$(PYTHON_VERSION)/Python/sysmodule.c\r
-  Python-$(PYTHON_VERSION)/Python/traceback.c\r
+  Python-2.7.2/Python/_warnings.c\r
+  Python-2.7.2/Python/asdl.c\r
+  Python-2.7.2/Python/ast.c\r
+  Python-2.7.2/Python/bltinmodule.c\r
+  Python-2.7.2/Python/ceval.c\r
+  Python-2.7.2/Python/codecs.c\r
+  Python-2.7.2/Python/compile.c\r
+  Python-2.7.2/Python/dtoa.c\r
+  Python-2.7.2/Python/dynload_stub.c\r
+  Python-2.7.2/Python/errors.c\r
+  Python-2.7.2/Python/formatter_string.c\r
+  Python-2.7.2/Python/formatter_unicode.c\r
+  Python-2.7.2/Python/frozen.c\r
+  Python-2.7.2/Python/future.c\r
+  Python-2.7.2/Python/getargs.c\r
+  Python-2.7.2/Python/getcompiler.c\r
+  Python-2.7.2/Python/getcopyright.c\r
+  Python-2.7.2/Python/getopt.c\r
+  Python-2.7.2/Python/getplatform.c\r
+  Python-2.7.2/Python/getversion.c\r
+  Python-2.7.2/Python/graminit.c\r
+  Python-2.7.2/Python/import.c\r
+  Python-2.7.2/Python/importdl.c\r
+  Python-2.7.2/Python/marshal.c\r
+  Python-2.7.2/Python/modsupport.c\r
+  Python-2.7.2/Python/mysnprintf.c\r
+  Python-2.7.2/Python/mystrtoul.c\r
+  Python-2.7.2/Python/peephole.c\r
+  Python-2.7.2/Python/pyarena.c\r
+  Python-2.7.2/Python/pyctype.c\r
+  Python-2.7.2/Python/pyfpe.c\r
+  Python-2.7.2/Python/pymath.c\r
+  Python-2.7.2/Python/pystate.c\r
+  Python-2.7.2/Python/pystrcmp.c\r
+  Python-2.7.2/Python/pystrtod.c\r
+  Python-2.7.2/Python/Python-ast.c\r
+  Python-2.7.2/Python/pythonrun.c\r
+  Python-2.7.2/Python/structmember.c\r
+  Python-2.7.2/Python/symtable.c\r
+  Python-2.7.2/Python/sysmodule.c\r
+  Python-2.7.2/Python/traceback.c\r
 #  Python-$(PYTHON_VERSION)/Python/thread.c\r
 \r
 #Modules -- See Efi/config.c\r
-  Python-$(PYTHON_VERSION)/Modules/main.c\r
-  Python-$(PYTHON_VERSION)/Modules/python.c\r
-  Python-$(PYTHON_VERSION)/Modules/getbuildinfo.c\r
+  Python-2.7.2/Modules/main.c\r
+  Python-2.7.2/Modules/python.c\r
+  Python-2.7.2/Modules/getbuildinfo.c\r
+\r
+  Python-2.7.2/Modules/arraymodule.c\r
+  Python-2.7.2/Modules/binascii.c\r
+  Python-2.7.2/Modules/errnomodule.c\r
+  Python-2.7.2/Modules/gcmodule.c\r
+  Python-2.7.2/Modules/signalmodule.c\r
+  Python-2.7.2/Modules/operator.c\r
+  Python-2.7.2/Modules/_weakref.c\r
+  Python-2.7.2/Modules/mathmodule.c\r
+  Python-2.7.2/Modules/_math.c\r
+  Python-2.7.2/Modules/timemodule.c\r
+  Python-2.7.2/Modules/datetimemodule.c\r
+  Python-2.7.2/Modules/cStringIO.c\r
+  Python-2.7.2/Modules/_codecsmodule.c\r
+  Python-2.7.2/Modules/_randommodule.c\r
+  Python-2.7.2/Modules/xxsubtype.c\r
+\r
+  Python-2.7.2/Modules/_heapqmodule.c\r
+  Python-2.7.2/Modules/itertoolsmodule.c\r
+  Python-2.7.2/Modules/_collectionsmodule.c\r
+  Python-2.7.2/Modules/_sre.c\r
+  Python-2.7.2/Modules/parsermodule.c\r
+  Python-2.7.2/Modules/_struct.c\r
+  Python-2.7.2/Modules/cPickle.c\r
+  Python-2.7.2/Modules/_functoolsmodule.c\r
+  Python-2.7.2/Modules/cmathmodule.c\r
+  Python-2.7.2/Modules/_json.c\r
+\r
+  Python-2.7.2/Modules/_bisectmodule.c\r
+  Python-2.7.2/Modules/future_builtins.c\r
+  Python-2.7.2/Modules/md5.c\r
+  Python-2.7.2/Modules/md5module.c\r
+  Python-2.7.2/Modules/shamodule.c\r
+  Python-2.7.2/Modules/sha256module.c\r
+  Python-2.7.2/Modules/sha512module.c\r
+  Python-2.7.2/Modules/stropmodule.c\r
+\r
+  # Socket related modules\r
+#  Python-$(PYTHON_VERSION)/Modules/getaddrinfo.c       # included by socketmodule.c\r
+#  Python-$(PYTHON_VERSION)/Modules/getnameinfo.c       # included by socketmodule.c\r
+  Python-2.7.2/Modules/selectmodule.c\r
+  Python-2.7.2/Modules/socketmodule.c\r
 \r
-#  Python-$(PYTHON_VERSION)/Modules/_bisectmodule.c\r
-#  Python-$(PYTHON_VERSION)/Modules/_codecsmodule.c\r
-#  Python-$(PYTHON_VERSION)/Modules/_collectionsmodule.c\r
-#  Python-$(PYTHON_VERSION)/Modules/_csv.c\r
-#  Python-$(PYTHON_VERSION)/Modules/_functoolsmodule.c\r
-#  Python-$(PYTHON_VERSION)/Modules/_heapqmodule.c\r
-#  Python-$(PYTHON_VERSION)/Modules/_json.c\r
-#  Python-$(PYTHON_VERSION)/Modules/_math.c\r
-#  Python-$(PYTHON_VERSION)/Modules/_randommodule.c\r
-#  Python-$(PYTHON_VERSION)/Modules/_sre.c\r
-#  Python-$(PYTHON_VERSION)/Modules/_struct.c\r
-  Python-$(PYTHON_VERSION)/Modules/arraymodule.c\r
-  Python-$(PYTHON_VERSION)/Modules/binascii.c\r
-#  Python-$(PYTHON_VERSION)/Modules/cPickle.c\r
-#  Python-$(PYTHON_VERSION)/Modules/cStringIO.c\r
-  Python-$(PYTHON_VERSION)/Modules/errnomodule.c\r
-#  Python-$(PYTHON_VERSION)/Modules/future_builtins.c\r
-  Python-$(PYTHON_VERSION)/Modules/gcmodule.c\r
 #  Python-$(PYTHON_VERSION)/Modules/imageop.c\r
-#  Python-$(PYTHON_VERSION)/Modules/itertoolsmodule.c\r
-#  Python-$(PYTHON_VERSION)/Modules/mathmodule.c\r
-#  Python-$(PYTHON_VERSION)/Modules/md5.c\r
-#  Python-$(PYTHON_VERSION)/Modules/md5module.c\r
-#  Python-$(PYTHON_VERSION)/Modules/operator.c\r
-  Python-$(PYTHON_VERSION)/Modules/parsermodule.c\r
-  Python-$(PYTHON_VERSION)/Modules/signalmodule.c\r
-#  Python-$(PYTHON_VERSION)/Modules/shamodule.c\r
-#  Python-$(PYTHON_VERSION)/Modules/sha256module.c\r
-#  Python-$(PYTHON_VERSION)/Modules/sha512module.c\r
-#  Python-$(PYTHON_VERSION)/Modules/stropmodule.c\r
+#  Python-$(PYTHON_VERSION)/Modules/_csv.c\r
 #  Python-$(PYTHON_VERSION)/Modules/symtablemodule.c\r
-#  Python-$(PYTHON_VERSION)/Modules/timemodule.c\r
-#  Python-$(PYTHON_VERSION)/Modules/xxsubtype.c\r
-\r
 #  Python-$(PYTHON_VERSION)/Modules/_hotshot.c\r
 #  Python-$(PYTHON_VERSION)/Modules/_localemodule.c\r
 #  Python-$(PYTHON_VERSION)/Modules/_lsprof.c\r
-#  Python-$(PYTHON_VERSION)/Modules/_weakref.c\r
 #  Python-$(PYTHON_VERSION)/Modules/audioop.c\r
-#  Python-$(PYTHON_VERSION)/Modules/cmathmodule.c\r
-#  Python-$(PYTHON_VERSION)/Modules/datetimemodule.c\r
 #  Python-$(PYTHON_VERSION)/Modules/mmapmodule.c\r
-#  Python-$(PYTHON_VERSION)/Modules/posixmodule.c\r
 #  Python-$(PYTHON_VERSION)/Modules/rotatingtree.c\r
 #  Python-$(PYTHON_VERSION)/Modules/threadmodule.c\r
 #  Python-$(PYTHON_VERSION)/Modules/zipimport.c\r
 #  Python-$(PYTHON_VERSION)/Modules/zlibmodule.c\r
 \r
 #Modules/cjkcodecs\r
-#  Python-$(PYTHON_VERSION)/Modules/cjkcodecs/multibytecodec.c\r
-#  Python-$(PYTHON_VERSION)/Modules/cjkcodecs/_codecs_cn.c\r
-#  Python-$(PYTHON_VERSION)/Modules/cjkcodecs/_codecs_hk.c\r
-#  Python-$(PYTHON_VERSION)/Modules/cjkcodecs/_codecs_iso2022.c\r
-#  Python-$(PYTHON_VERSION)/Modules/cjkcodecs/_codecs_jp.c\r
-#  Python-$(PYTHON_VERSION)/Modules/cjkcodecs/_codecs_kr.c\r
-#  Python-$(PYTHON_VERSION)/Modules/cjkcodecs/_codecs_tw.c\r
+  Python-2.7.2/Modules/cjkcodecs/multibytecodec.c\r
+  Python-2.7.2/Modules/cjkcodecs/_codecs_cn.c\r
+  Python-2.7.2/Modules/cjkcodecs/_codecs_hk.c\r
+  Python-2.7.2/Modules/cjkcodecs/_codecs_iso2022.c\r
+  Python-2.7.2/Modules/cjkcodecs/_codecs_jp.c\r
+  Python-2.7.2/Modules/cjkcodecs/_codecs_kr.c\r
+  Python-2.7.2/Modules/cjkcodecs/_codecs_tw.c\r
 \r
 \r
 #Modules/_io\r
-  Python-$(PYTHON_VERSION)/Modules/_io/_iomodule.c\r
-  Python-$(PYTHON_VERSION)/Modules/_io/bufferedio.c\r
-  Python-$(PYTHON_VERSION)/Modules/_io/bytesio.c\r
-  Python-$(PYTHON_VERSION)/Modules/_io/fileio.c\r
-  Python-$(PYTHON_VERSION)/Modules/_io/iobase.c\r
-  Python-$(PYTHON_VERSION)/Modules/_io/stringio.c\r
-  Python-$(PYTHON_VERSION)/Modules/_io/textio.c\r
+  Python-2.7.2/Modules/_io/_iomodule.c\r
+  Python-2.7.2/Modules/_io/bufferedio.c\r
+  Python-2.7.2/Modules/_io/bytesio.c\r
+  Python-2.7.2/Modules/_io/fileio.c\r
+  Python-2.7.2/Modules/_io/iobase.c\r
+  Python-2.7.2/Modules/_io/stringio.c\r
+  Python-2.7.2/Modules/_io/textio.c\r
 \r
 #Modules/zlib\r
 #  Python-$(PYTHON_VERSION)/Modules/zlib/adler32.c\r
 #  Python-$(PYTHON_VERSION)/Modules/zlib/zutil.c\r
 \r
 #Objects\r
-  Python-$(PYTHON_VERSION)/Objects/abstract.c\r
-  Python-$(PYTHON_VERSION)/Objects/boolobject.c\r
-  Python-$(PYTHON_VERSION)/Objects/bufferobject.c\r
-  Python-$(PYTHON_VERSION)/Objects/bytearrayobject.c\r
-  Python-$(PYTHON_VERSION)/Objects/bytes_methods.c\r
-  Python-$(PYTHON_VERSION)/Objects/capsule.c\r
-  Python-$(PYTHON_VERSION)/Objects/cellobject.c\r
-  Python-$(PYTHON_VERSION)/Objects/classobject.c\r
-  Python-$(PYTHON_VERSION)/Objects/cobject.c\r
-  Python-$(PYTHON_VERSION)/Objects/codeobject.c\r
-  Python-$(PYTHON_VERSION)/Objects/complexobject.c\r
-  Python-$(PYTHON_VERSION)/Objects/descrobject.c\r
-  Python-$(PYTHON_VERSION)/Objects/dictobject.c\r
-  Python-$(PYTHON_VERSION)/Objects/enumobject.c\r
-  Python-$(PYTHON_VERSION)/Objects/exceptions.c\r
-  Python-$(PYTHON_VERSION)/Objects/fileobject.c\r
-  Python-$(PYTHON_VERSION)/Objects/floatobject.c\r
-  Python-$(PYTHON_VERSION)/Objects/frameobject.c\r
-  Python-$(PYTHON_VERSION)/Objects/funcobject.c\r
-  Python-$(PYTHON_VERSION)/Objects/genobject.c\r
-  Python-$(PYTHON_VERSION)/Objects/intobject.c\r
-  Python-$(PYTHON_VERSION)/Objects/iterobject.c\r
-  Python-$(PYTHON_VERSION)/Objects/listobject.c\r
-  Python-$(PYTHON_VERSION)/Objects/longobject.c\r
-  Python-$(PYTHON_VERSION)/Objects/memoryobject.c\r
-  Python-$(PYTHON_VERSION)/Objects/methodobject.c\r
-  Python-$(PYTHON_VERSION)/Objects/moduleobject.c\r
-  Python-$(PYTHON_VERSION)/Objects/object.c\r
-  Python-$(PYTHON_VERSION)/Objects/obmalloc.c\r
-  Python-$(PYTHON_VERSION)/Objects/rangeobject.c\r
-  Python-$(PYTHON_VERSION)/Objects/setobject.c\r
-  Python-$(PYTHON_VERSION)/Objects/sliceobject.c\r
-  Python-$(PYTHON_VERSION)/Objects/stringobject.c\r
-  Python-$(PYTHON_VERSION)/Objects/structseq.c\r
-  Python-$(PYTHON_VERSION)/Objects/tupleobject.c\r
-  Python-$(PYTHON_VERSION)/Objects/typeobject.c\r
-  Python-$(PYTHON_VERSION)/Objects/unicodectype.c\r
-  Python-$(PYTHON_VERSION)/Objects/unicodeobject.c\r
-  Python-$(PYTHON_VERSION)/Objects/weakrefobject.c\r
+  Python-2.7.2/Objects/abstract.c\r
+  Python-2.7.2/Objects/boolobject.c\r
+  Python-2.7.2/Objects/bufferobject.c\r
+  Python-2.7.2/Objects/bytearrayobject.c\r
+  Python-2.7.2/Objects/bytes_methods.c\r
+  Python-2.7.2/Objects/capsule.c\r
+  Python-2.7.2/Objects/cellobject.c\r
+  Python-2.7.2/Objects/classobject.c\r
+  Python-2.7.2/Objects/cobject.c\r
+  Python-2.7.2/Objects/codeobject.c\r
+  Python-2.7.2/Objects/complexobject.c\r
+  Python-2.7.2/Objects/descrobject.c\r
+  Python-2.7.2/Objects/dictobject.c\r
+  Python-2.7.2/Objects/enumobject.c\r
+  Python-2.7.2/Objects/exceptions.c\r
+  Python-2.7.2/Objects/fileobject.c\r
+  Python-2.7.2/Objects/floatobject.c\r
+  Python-2.7.2/Objects/frameobject.c\r
+  Python-2.7.2/Objects/funcobject.c\r
+  Python-2.7.2/Objects/genobject.c\r
+  Python-2.7.2/Objects/intobject.c\r
+  Python-2.7.2/Objects/iterobject.c\r
+  Python-2.7.2/Objects/listobject.c\r
+  Python-2.7.2/Objects/longobject.c\r
+  Python-2.7.2/Objects/memoryobject.c\r
+  Python-2.7.2/Objects/methodobject.c\r
+  Python-2.7.2/Objects/moduleobject.c\r
+  Python-2.7.2/Objects/object.c\r
+  Python-2.7.2/Objects/obmalloc.c\r
+  Python-2.7.2/Objects/rangeobject.c\r
+  Python-2.7.2/Objects/setobject.c\r
+  Python-2.7.2/Objects/sliceobject.c\r
+  Python-2.7.2/Objects/stringobject.c\r
+  Python-2.7.2/Objects/structseq.c\r
+  Python-2.7.2/Objects/tupleobject.c\r
+  Python-2.7.2/Objects/typeobject.c\r
+  Python-2.7.2/Objects/unicodectype.c\r
+  Python-2.7.2/Objects/unicodeobject.c\r
+  Python-2.7.2/Objects/weakrefobject.c\r
 \r
 [BuildOptions]\r
-   MSFT:*_*_IA32_CC_FLAGS         = /Oi- /wd4018 /wd4054 /wd4055 /wd4101 /wd4131 /wd4152 /wd4204 /wd4210 /wd4244 /wd4267 /wd4305 /wd4310 /wd4389 /wd4701 /wd4702 /wd4706 /I%WORKSPACE%\AppPkg\Applications\Python\Ia32 /I%WORKSPACE%\AppPkg\Applications\Python\Efi /I%WORKSPACE%\AppPkg\Applications\Python\Python-$(PYTHON_VERSION)\Include\r
-   MSFT:*_*_X64_CC_FLAGS          = /Oi- /wd4018 /wd4054 /wd4055 /wd4101 /wd4131 /wd4152 /wd4204 /wd4210 /wd4244 /wd4267 /wd4305 /wd4310 /wd4389 /wd4701 /wd4702 /wd4706 /I%WORKSPACE%\AppPkg\Applications\Python\X64 /I%WORKSPACE%\AppPkg\Applications\Python\Efi /I%WORKSPACE%\AppPkg\Applications\Python\Python-$(PYTHON_VERSION)\Include\r
-    GCC:*_*_IPF_SYMRENAME_FLAGS   = --redefine-syms=$WORKSPACE/StdLib/GccSymRename.txt\r
+   MSFT:*_*_IA32_CC_FLAGS         = /Oi- /wd4018 /wd4054 /wd4055 /wd4101 /wd4131 /wd4152 /wd4204 /wd4210 /wd4244 /wd4267 /wd4305 /wd4310 /wd4389 /wd4701 /wd4702 /wd4706 /I$(WORKSPACE)\AppPkg\Applications\Python\Ia32 /I$(WORKSPACE)\AppPkg\Applications\Python\Efi /I$(WORKSPACE)\AppPkg\Applications\Python\Python-2.7.2\Include\r
+   MSFT:*_*_X64_CC_FLAGS          = /Oi- /wd4018 /wd4054 /wd4055 /wd4101 /wd4131 /wd4152 /wd4204 /wd4210 /wd4244 /wd4267 /wd4305 /wd4310 /wd4389 /wd4701 /wd4702 /wd4706 /I$(WORKSPACE)\AppPkg\Applications\Python\X64 /I$(WORKSPACE)\AppPkg\Applications\Python\Efi /I$(WORKSPACE)\AppPkg\Applications\Python\Python-2.7.2\Include\r
+    GCC:*_*_IPF_SYMRENAME_FLAGS   = --redefine-syms=$(WORKSPACE)/StdLib/GccSymRename.txt\r