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:
Bob Feng
2021-12-24 22:50:08 +08:00
committed by mergify[bot]
parent 6612ff8561
commit e910f076ad
2 changed files with 3 additions and 0 deletions

View File

@ -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]}