summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/build/build.py
diff options
context:
space:
mode:
authorFeng, Bob C <bob.c.feng@intel.com>2019-08-21 17:50:54 +0800
committerFeng, Bob C <bob.c.feng@intel.com>2019-08-23 11:26:24 +0800
commit5f7bb39117167018729dc938452c65ea7572eb1f (patch)
treee2e213f170250e2937881d2f3da3e2bf0ca4ecc6 /BaseTools/Source/Python/build/build.py
parent6dd9aa40193cc905cda5f97d07e30ffbd5299439 (diff)
downloadedk2-5f7bb39117167018729dc938452c65ea7572eb1f.tar.gz
edk2-5f7bb39117167018729dc938452c65ea7572eb1f.tar.bz2
edk2-5f7bb39117167018729dc938452c65ea7572eb1f.zip
BaseTools: Fix incremental build genmake issue
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2090 This is a regression issue introduced by commit e8449e. This patch is going to fix this issue. Cc: Liming Gao <liming.gao@intel.com> Signed-off-by: Bob Feng <bob.c.feng@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 2c10670a69..0406ac314b 100755
--- a/BaseTools/Source/Python/build/build.py
+++ b/BaseTools/Source/Python/build/build.py
@@ -1219,7 +1219,6 @@ class Build():
for m in AutoGenObject.GetAllModuleInfo:
mqueue.put(m)
- AutoGenObject.DataPipe.DataContainer = {"FfsCommand":FfsCommand}
AutoGenObject.DataPipe.DataContainer = {"CommandTarget": self.Target}
self.Progress.Start("Generating makefile and code")
data_pipe_file = os.path.join(AutoGenObject.BuildDir, "GlobalVar_%s_%s.bin" % (str(AutoGenObject.Guid),AutoGenObject.Arch))
@@ -1738,6 +1737,8 @@ class Build():
Ma.Workspace = Wa
PcdMaList.append(Ma)
self.BuildModules.append(Ma)
+ Pa.DataPipe.DataContainer = {"FfsCommand":CmdListDict}
+ Pa.DataPipe.DataContainer = {"Workspace_timestamp": Wa._SrcTimeStamp}
self._BuildPa(self.Target, Pa, FfsCommand=CmdListDict,PcdMaList=PcdMaList)
# Create MAP file when Load Fix Address is enabled.