From e3c8311f8a196772bea453b832f33d34225488de Mon Sep 17 00:00:00 2001 From: "Feng, Bob C" Date: Fri, 6 Sep 2019 21:22:59 +0800 Subject: BaseTools: Fixed the bug of multi-thread genffs for override inf BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1302 If there is a inf override, and multi-thread genffs is enabled, build will fail. This patch is going to fix this bug. Cc: Liming Gao Cc: Steven Shi Signed-off-by: Bob Feng Reviewed-by: Liming Gao --- BaseTools/Source/Python/AutoGen/AutoGenWorker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'BaseTools/Source/Python/AutoGen/AutoGenWorker.py') diff --git a/BaseTools/Source/Python/AutoGen/AutoGenWorker.py b/BaseTools/Source/Python/AutoGen/AutoGenWorker.py index f488ae9d5f..77fbd8b369 100755 --- a/BaseTools/Source/Python/AutoGen/AutoGenWorker.py +++ b/BaseTools/Source/Python/AutoGen/AutoGenWorker.py @@ -241,7 +241,7 @@ class AutoGenWorkerInProcess(mp.Process): continue Ma.CreateCodeFile(False) - Ma.CreateMakeFile(False,GenFfsList=FfsCmd.get((Ma.MetaFile.File, Ma.Arch),[])) + Ma.CreateMakeFile(False,GenFfsList=FfsCmd.get((Ma.MetaFile.Path, Ma.Arch),[])) if GlobalData.gBinCacheSource and CommandTarget in [None, "", "all"]: Ma.GenMakeHeaderFilesHash(GlobalData.gCacheIR) -- cgit v1.2.3