summaryrefslogtreecommitdiffstats
path: root/IntelFsp2Pkg
diff options
context:
space:
mode:
authorgaoliming <gaoliming@byosoft.com.cn>2020-09-16 17:58:14 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-09-25 07:33:31 +0000
commit1d058c3e86b079a2e207bb022fd7a97814c9a04f (patch)
tree7f12724557578902c5d8130b7256039cc7238682 /IntelFsp2Pkg
parentd8be01079b3c7b554ac8126e97e73fba8894e519 (diff)
downloadedk2-1d058c3e86b079a2e207bb022fd7a97814c9a04f.tar.gz
edk2-1d058c3e86b079a2e207bb022fd7a97814c9a04f.tar.bz2
edk2-1d058c3e86b079a2e207bb022fd7a97814c9a04f.zip
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')
-rw-r--r--IntelFsp2Pkg/Tools/GenCfgOpt.py1
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