summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/build/build.py
diff options
context:
space:
mode:
authorBob Feng <bob.c.feng@intel.com>2020-01-17 11:11:27 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-01-19 07:46:18 +0000
commit5cd3d4bc43e543caf5f78baaacced8aaf04c1d91 (patch)
tree3a63e589900174727ba19c2e4b6dd77d4b9631c3 /BaseTools/Source/Python/build/build.py
parent18fcb3759888ef2415a9fefe1fffb7f8b9b9211d (diff)
downloadedk2-5cd3d4bc43e543caf5f78baaacced8aaf04c1d91.tar.gz
edk2-5cd3d4bc43e543caf5f78baaacced8aaf04c1d91.tar.bz2
edk2-5cd3d4bc43e543caf5f78baaacced8aaf04c1d91.zip
BaseTools: Fixed a incremental build bug
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2451 If removing a header file from source code and file system, the incremental build will fail. This patch is to fix this issue by setting each header file as a target without any actions in makefile. Signed-off-by: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <liming.gao@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/build/build.py')
-rwxr-xr-xBaseTools/Source/Python/build/build.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/build/build.py b/BaseTools/Source/Python/build/build.py
index 34acdccbdb..1e47e382cb 100755
--- a/BaseTools/Source/Python/build/build.py
+++ b/BaseTools/Source/Python/build/build.py
@@ -2,7 +2,7 @@
# build a platform or a module
#
# Copyright (c) 2014, Hewlett-Packard Development Company, L.P.<BR>
-# Copyright (c) 2007 - 2019, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2007 - 2020, Intel Corporation. All rights reserved.<BR>
# Copyright (c) 2018, Hewlett Packard Enterprise Development, L.P.<BR>
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
@@ -280,6 +280,7 @@ def LaunchCommand(Command, WorkingDir,ModuleAuto = None):
iau.UpdateDepsFileforTrim()
iau.CreateModuleDeps()
iau.CreateDepsInclude()
+ iau.CreateDepsTarget()
return "%dms" % (int(round((time.time() - BeginTime) * 1000)))
## The smallest unit that can be built in multi-thread build mode