summaryrefslogtreecommitdiff
path: root/BaseTools
diff options
context:
space:
mode:
authorJake Garver <jake@nvidia.com>2022-04-08 00:59:03 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-06-06 00:02:30 +0000
commit0b36dea3f8b71ddddc4fdf3a5d2edf395115568b (patch)
treeb81b2809b5b93703b1ea896102d7c7cd0d540431 /BaseTools
parent0a4019ec9de64c6565ea545dc8d847afe2b30d6c (diff)
downloadedk2-0b36dea3f8b71ddddc4fdf3a5d2edf395115568b.zip
edk2-0b36dea3f8b71ddddc4fdf3a5d2edf395115568b.tar.gz
edk2-0b36dea3f8b71ddddc4fdf3a5d2edf395115568b.tar.bz2
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 <jake@nvidia.com> Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Diffstat (limited to 'BaseTools')
-rw-r--r--BaseTools/Source/Python/Workspace/DscBuildData.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Workspace/DscBuildData.py b/BaseTools/Source/Python/Workspace/DscBuildData.py
index a9fdc5c..a599c5b 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
'''