mirror of https://github.com/acidanthera/audk.git
BaseTools: Fixed the build fail on Linux with --genfds-multi-thread
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1302 If GenSec input file not exist, the related command will fail and make will stop on Linux. GenSec input file is allow to be non-existent. This patch is to let "make" continue if gensec input file not exist. Cc: Liming Gao <liming.gao@intel.com> Signed-off-by: Bob Feng <bob.c.feng@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
parent
e3c8311f8a
commit
f23da86415
|
@ -489,7 +489,7 @@ class GenFdsGlobalVariable:
|
|||
if GlobalData.gGlobalDefines.get("FAMILY") == "MSFT":
|
||||
Cmd = ['if', 'exist', Input[0]] + Cmd
|
||||
else:
|
||||
Cmd = ['test', '-e', Input[0], "&&"] + Cmd
|
||||
Cmd = ['-test', '-e', Input[0], "&&"] + Cmd
|
||||
if ' '.join(Cmd).strip() not in GenFdsGlobalVariable.SecCmdList:
|
||||
GenFdsGlobalVariable.SecCmdList.append(' '.join(Cmd).strip())
|
||||
elif GenFdsGlobalVariable.NeedsUpdate(Output, list(Input) + [CommandFile]):
|
||||
|
|
Loading…
Reference in New Issue