diff options
author | gaoliming <gaoliming@byosoft.com.cn> | 2020-09-16 17:58:14 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-09-25 07:33:31 +0000 |
commit | 1d058c3e86b079a2e207bb022fd7a97814c9a04f (patch) | |
tree | 7f12724557578902c5d8130b7256039cc7238682 /IntelFsp2Pkg/Tools | |
parent | d8be01079b3c7b554ac8126e97e73fba8894e519 (diff) | |
download | edk2-1d058c3e86b079a2e207bb022fd7a97814c9a04f.tar.gz |
IntelFsp2Pkg GenCfgOpt.py: Initialize IncLines as empty list
IncLines as empty list for the case when InputHeaderFile is not specified.
Cc: Chasel Chiu <chasel.chiu@intel.com>
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Signed-off-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Chasel Chiu <chasel.chiu@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'IntelFsp2Pkg/Tools')
-rw-r--r-- | IntelFsp2Pkg/Tools/GenCfgOpt.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/IntelFsp2Pkg/Tools/GenCfgOpt.py b/IntelFsp2Pkg/Tools/GenCfgOpt.py index e9de128e50..bcced590ce 100644 --- a/IntelFsp2Pkg/Tools/GenCfgOpt.py +++ b/IntelFsp2Pkg/Tools/GenCfgOpt.py @@ -1177,6 +1177,7 @@ EndList UpdSignatureCheck = ['FSPT_UPD_SIGNATURE', 'FSPM_UPD_SIGNATURE', 'FSPS_UPD_SIGNATURE']
ExcludedSpecificUpd = ['FSPT_ARCH_UPD', 'FSPM_ARCH_UPD', 'FSPS_ARCH_UPD']
+ IncLines = []
if InputHeaderFile != '':
if not os.path.exists(InputHeaderFile):
self.Error = "Input header file '%s' does not exist" % InputHeaderFile
|