summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/msa2inf/StoreInf.py
diff options
context:
space:
mode:
Diffstat (limited to 'BaseTools/Source/Python/msa2inf/StoreInf.py')
-rw-r--r--BaseTools/Source/Python/msa2inf/StoreInf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/BaseTools/Source/Python/msa2inf/StoreInf.py b/BaseTools/Source/Python/msa2inf/StoreInf.py
index bb58dc2f2f..6bf46cf0be 100644
--- a/BaseTools/Source/Python/msa2inf/StoreInf.py
+++ b/BaseTools/Source/Python/msa2inf/StoreInf.py
@@ -64,8 +64,8 @@ def StoreModuleDefinesSection(InfFile, Module):
if ModuleHeader.ModuleType != "":
DefinesTupleList.append(("MODULE_TYPE", ModuleHeader.ModuleType))
- if ModuleHeader.EfiSpecificationVersion != "":
- DefinesTupleList.append(("EFI_SPECIFICATION_VERSION", ModuleHeader.EfiSpecificationVersion))
+ if ModuleHeader.UefiSpecificationVersion != "":
+ DefinesTupleList.append(("UEFI_SPECIFICATION_VERSION", ModuleHeader.UefiSpecificationVersion))
if ModuleHeader.EdkReleaseVersion != "":
DefinesTupleList.append(("EDK_RELEASE_VERSION", ModuleHeader.EdkReleaseVersion))