]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Common/InfClassObject.py
Sync EDKII BaseTools to BaseTools project r1903.
[mirror_edk2.git] / BaseTools / Source / Python / Common / InfClassObject.py
index 27e67f3a1db2cf08c7f42bfb3eec45b067525860..7127cc5cff401afdb4f2a4cc8ea6d4a9ea042de8 100644 (file)
@@ -1,7 +1,7 @@
 ## @file\r
 # This file is used to define each component of INF file\r
 #\r
-# Copyright (c) 2007, Intel Corporation\r
+# Copyright (c) 2007 - 2010, Intel Corporation\r
 # All rights reserved. This program and the accompanying materials\r
 # are licensed and made available under the terms and conditions of the BSD License\r
 # which accompanies this distribution.  The full text of the license may be found at\r
@@ -85,7 +85,8 @@ class InfHeader(ModuleHeaderClass):
         TAB_INF_DEFINES_BASE_NAME                   : "Name",\r
         TAB_INF_DEFINES_FILE_GUID                   : "Guid",\r
         TAB_INF_DEFINES_MODULE_TYPE                 : "ModuleType",\r
-        TAB_INF_DEFINES_EFI_SPECIFICATION_VERSION   : "EfiSpecificationVersion",\r
+        TAB_INF_DEFINES_EFI_SPECIFICATION_VERSION   : "UefiSpecificationVersion",\r
+        TAB_INF_DEFINES_UEFI_SPECIFICATION_VERSION  : "UefiSpecificationVersion",\r
         TAB_INF_DEFINES_EDK_RELEASE_VERSION         : "EdkReleaseVersion",\r
         #\r
         # Optional Fields\r
@@ -452,7 +453,7 @@ class Inf(InfObject):
             print 'Guid =', M.Header[Arch].Guid\r
             print 'Version =', M.Header[Arch].Version\r
             print 'InfVersion =', M.Header[Arch].InfVersion\r
-            print 'EfiSpecificationVersion =', M.Header[Arch].EfiSpecificationVersion\r
+            print 'UefiSpecificationVersion =', M.Header[Arch].UefiSpecificationVersion\r
             print 'EdkReleaseVersion =', M.Header[Arch].EdkReleaseVersion\r
             print 'ModuleType =', M.Header[Arch].ModuleType\r
             print 'BinaryModule =', M.Header[Arch].BinaryModule\r