diff options
author | Jake Garver <jake@nvidia.com> | 2022-04-08 00:59:03 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-06-06 00:02:30 +0000 |
commit | 0b36dea3f8b71ddddc4fdf3a5d2edf395115568b (patch) | |
tree | b81b2809b5b93703b1ea896102d7c7cd0d540431 /BaseTools | |
parent | 0a4019ec9de64c6565ea545dc8d847afe2b30d6c (diff) | |
download | edk2-0b36dea3f8b71ddddc4fdf3a5d2edf395115568b.tar.gz edk2-0b36dea3f8b71ddddc4fdf3a5d2edf395115568b.tar.bz2 edk2-0b36dea3f8b71ddddc4fdf3a5d2edf395115568b.zip |
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.py | 3 |
1 files changed, 2 insertions, 1 deletions
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
'''
|