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
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
# @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