BaseTools: Treat BPDG.py as a python module
authorGary Lin <glin@suse.com>
Fri, 13 Jul 2018 10:18:38 +0000 (18:18 +0800)
committerYonghong Zhu <yonghong.zhu@intel.com>
Mon, 16 Jul 2018 03:22:15 +0000 (11:22 +0800)
commit9f3594782de9051cbf599f9af006903ed3f6669e
tree20f2b08b009fa4cb2745176f5c1dd2ee26745bce
parent0ff3b52e065cc702a64d5a9016ee7926025dfbc7
BaseTools: Treat BPDG.py as a python module

Since BPDG.py import modules from its own directory, add "-m" to the
python parameters so that they can import its own modules after adopting
absolute import.

Contributed-under: TianoCore Contribution Agreement 1.1
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Gary Lin <glin@suse.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
BaseTools/BinWrappers/PosixLike/BPDG
BaseTools/BinWrappers/WindowsLike/BPDG.bat