mirror of https://github.com/acidanthera/audk.git
BaseTools: Fix the bug of --cmd-len build option
currently the --cmd-len build option does not work. This patch is going to fix this bug. Signed-off-by: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Yuwei Chen <yuwei.chen@intel.com> Reviewed-by: Yuwei Chen <yuwei.chen@intel.com>
This commit is contained in:
parent
6612ff8561
commit
e910f076ad
|
@ -198,6 +198,7 @@ class AutoGenWorkerInProcess(mp.Process):
|
|||
self.Wa._SrcTimeStamp = self.data_pipe.Get("Workspace_timestamp")
|
||||
GlobalData.gGlobalDefines = self.data_pipe.Get("G_defines")
|
||||
GlobalData.gCommandLineDefines = self.data_pipe.Get("CL_defines")
|
||||
GlobalData.gCommandMaxLength = self.data_pipe.Get('gCommandMaxLength')
|
||||
os.environ._data = self.data_pipe.Get("Env_Var")
|
||||
GlobalData.gWorkspace = workspacedir
|
||||
GlobalData.gDisableIncludePathCheck = False
|
||||
|
|
|
@ -148,6 +148,8 @@ class MemoryDataPipe(DataPipe):
|
|||
|
||||
self.DataContainer = {"CL_defines": GlobalData.gCommandLineDefines}
|
||||
|
||||
self.DataContainer = {"gCommandMaxLength": GlobalData.gCommandMaxLength}
|
||||
|
||||
self.DataContainer = {"Env_Var": {k:v for k, v in os.environ.items()}}
|
||||
|
||||
self.DataContainer = {"PackageList": [(dec.MetaFile,dec.Arch) for dec in PlatformInfo.PackageList]}
|
||||
|
|
Loading…
Reference in New Issue