From 0b36dea3f8b71ddddc4fdf3a5d2edf395115568b Mon Sep 17 00:00:00 2001 From: Jake Garver Date: Fri, 8 Apr 2022 00:59:03 +0800 Subject: [PATCH] BaseTools: Fix dependency issue in PcdValueInit The generated Makefile was missing a dependency. This resulted in a build-time race condition if the recursive make is multi-threaded and shares job control. Signed-off-by: Jake Garver Reviewed-by: Bob Feng --- BaseTools/Source/Python/Workspace/DscBuildData.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BaseTools/Source/Python/Workspace/DscBuildData.py b/BaseTools/Source/Python/Workspace/DscBuildData.py index a9fdc5cafa..a599c5bb76 100644 --- a/BaseTools/Source/Python/Workspace/DscBuildData.py +++ b/BaseTools/Source/Python/Workspace/DscBuildData.py @@ -97,7 +97,8 @@ PcdMakefileEnd = ''' AppTarget = ''' all: $(APPFILE) -$(APPFILE): $(OBJECTS) +$(APPLICATION): $(OBJECTS) +$(APPFILE): $(APPLICATION) %s ''' -- 2.39.2