]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py
BaseTools:change some incorrect parameter defaults
[mirror_edk2.git] / BaseTools / Source / Python / GenFds / GenFdsGlobalVariable.py
index 037828ea1cca241729da1b05e691b7d062343ac6..4d8b2bdee2991907c16f20e5c94eab8be759ae45 100644 (file)
@@ -69,7 +69,7 @@ class GenFdsGlobalVariable:
     SecCmdList = []\r
     CopyList   = []\r
     ModuleFile = ''\r
-    EnableGenfdsMultiThread = False\r
+    EnableGenfdsMultiThread = True\r
 \r
     #\r
     # The list whose element are flags to indicate if large FFS or SECTION files exist in FV.\r
@@ -489,7 +489,7 @@ class GenFdsGlobalVariable:
                 if GlobalData.gGlobalDefines.get("FAMILY") == "MSFT":\r
                     Cmd = ['if', 'exist', Input[0]] + Cmd\r
                 else:\r
-                    Cmd = ['test', '-e', Input[0], "&&"] + Cmd\r
+                    Cmd = ['-test', '-e', Input[0], "&&"] + Cmd\r
                 if ' '.join(Cmd).strip() not in GenFdsGlobalVariable.SecCmdList:\r
                     GenFdsGlobalVariable.SecCmdList.append(' '.join(Cmd).strip())\r
             elif GenFdsGlobalVariable.NeedsUpdate(Output, list(Input) + [CommandFile]):\r
@@ -742,7 +742,7 @@ class GenFdsGlobalVariable:
     #   @param  MacroDict     Dictionary that contains macro value pair\r
     #\r
     @staticmethod\r
-    def MacroExtend (Str, MacroDict={}, Arch=DataType.TAB_COMMON):\r
+    def MacroExtend (Str, MacroDict=None, Arch=DataType.TAB_COMMON):\r
         if Str is None:\r
             return None\r
 \r