From 5f7bb39117167018729dc938452c65ea7572eb1f Mon Sep 17 00:00:00 2001 From: "Feng, Bob C" Date: Wed, 21 Aug 2019 17:50:54 +0800 Subject: [PATCH] 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 Signed-off-by: Bob Feng Reviewed-by: Liming Gao --- BaseTools/Source/Python/build/build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. -- 2.39.2