diff options
author | Antoine Cœur <coeur@gmx.fr> | 2019-07-04 19:43:48 +0800 |
---|---|---|
committer | Feng, Bob C <bob.c.feng@intel.com> | 2019-07-08 08:59:29 +0800 |
commit | 2d53d54a5bf5f9ba9379e465f49ac9cdc55035de (patch) | |
tree | 86ad5a6b709e94b6e0d8195afa287c9784ed8e4f /BaseTools/Source/Python | |
parent | d031fc07eb83c9d13bff3ebac25da458d5a47917 (diff) | |
download | edk2-2d53d54a5bf5f9ba9379e465f49ac9cdc55035de.zip edk2-2d53d54a5bf5f9ba9379e465f49ac9cdc55035de.tar.gz edk2-2d53d54a5bf5f9ba9379e465f49ac9cdc55035de.tar.bz2 |
BaseTools: Fix various typos
Fix various typos in BaseTools.
Signed-off-by: Cœur <coeur@gmx.fr>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Diffstat (limited to 'BaseTools/Source/Python')
7 files changed, 10 insertions, 10 deletions
diff --git a/BaseTools/Source/Python/AutoGen/AutoGen.py b/BaseTools/Source/Python/AutoGen/AutoGen.py index e8e09dc..a2077c5 100644 --- a/BaseTools/Source/Python/AutoGen/AutoGen.py +++ b/BaseTools/Source/Python/AutoGen/AutoGen.py @@ -3030,7 +3030,7 @@ class ModuleAutoGen(AutoGen): IncPathList = [NormPath(Path, self.Macros) for Path in BuildOptIncludeRegEx.findall(FlagOption)]
else:
#
- # RVCT may specify a list of directory seperated by commas
+ # RVCT may specify a list of directory separated by commas
#
IncPathList = []
for Path in BuildOptIncludeRegEx.findall(FlagOption):
@@ -3994,7 +3994,7 @@ class ModuleAutoGen(AutoGen): #
@cached_class_function
def CreateMakeFile(self, CreateLibraryMakeFile=True, GenFfsList = []):
- # nest this function inside it's only caller.
+ # nest this function inside its only caller.
def CreateTimeStamp():
FileSet = {self.MetaFile.Path}
diff --git a/BaseTools/Source/Python/BPDG/GenVpd.py b/BaseTools/Source/Python/BPDG/GenVpd.py index 887a0c4..049c082 100644 --- a/BaseTools/Source/Python/BPDG/GenVpd.py +++ b/BaseTools/Source/Python/BPDG/GenVpd.py @@ -312,7 +312,7 @@ class GenVPD : ##
# Parser the input file which is generated by the build tool. Convert the value of each pcd's
- # from string to it's real format. Also remove the useless line in the input file.
+ # from string to its real format. Also remove the useless line in the input file.
#
def ParserInputFile (self):
count = 0
@@ -483,7 +483,7 @@ class GenVPD : self.PcdFixedOffsetSizeList.sort(key=lambda x: x.PcdBinOffset)
#
- # Sort the un-fixed pcd's offset by it's size.
+ # Sort the un-fixed pcd's offset by its size.
#
self.PcdUnknownOffsetList.sort(key=lambda x: x.PcdBinSize)
@@ -605,7 +605,7 @@ class GenVPD : # Usually it will not enter into this thunk, if so, means it overlapped.
else :
EdkLogger.error("BPDG", BuildToolError.ATTRIBUTE_NOT_AVAILABLE,
- "The offset value definition has overlapped at pcd: %s, it's offset is: %s, in file: %s line: %s" % \
+ "The offset value definition has overlapped at pcd: %s, its offset is: %s, in file: %s line: %s" % \
(eachFixedPcd.PcdCName, eachFixedPcd.PcdOffset, eachFixedPcd.InputFileName, eachFixedPcd.Lineno),
None)
FixOffsetSizeListCount += 1
diff --git a/BaseTools/Source/Python/Common/ToolDefClassObject.py b/BaseTools/Source/Python/Common/ToolDefClassObject.py index 5d692ea..4fa3649 100644 --- a/BaseTools/Source/Python/Common/ToolDefClassObject.py +++ b/BaseTools/Source/Python/Common/ToolDefClassObject.py @@ -105,7 +105,7 @@ class ToolDefClassObject(object): ## IncludeToolDefFile
#
- # Load target.txt file and parse it as if it's contents were inside the main file
+ # Load target.txt file and parse it as if its contents were inside the main file
#
# @param Filename: Input value for full path of tools_def.txt
#
diff --git a/BaseTools/Source/Python/UPT/Library/DataType.py b/BaseTools/Source/Python/UPT/Library/DataType.py index 88559bc..bd21678 100644 --- a/BaseTools/Source/Python/UPT/Library/DataType.py +++ b/BaseTools/Source/Python/UPT/Library/DataType.py @@ -210,7 +210,7 @@ ARCH_LIST = ["IA32", ##
# PCD driver type list items
#
-PCD_DIRVER_TYPE_LIST = ["PEI_PCD_DRIVER", "DXE_PCD_DRIVER"]
+PCD_DRIVER_TYPE_LIST = ["PEI_PCD_DRIVER", "DXE_PCD_DRIVER"]
##
# Boot Mode List Items
diff --git a/BaseTools/Source/Python/UPT/Library/StringUtils.py b/BaseTools/Source/Python/UPT/Library/StringUtils.py index e43924f..fbc5177 100644 --- a/BaseTools/Source/Python/UPT/Library/StringUtils.py +++ b/BaseTools/Source/Python/UPT/Library/StringUtils.py @@ -863,7 +863,7 @@ def ConvertNOTEQToNE(Expr): ## SplitPcdEntry
#
# Split an PCD entry string to Token.CName and PCD value and FFE.
-# NOTE: PCD Value and FFE can contain "|" in it's expression. And in INF specification, have below rule.
+# NOTE: PCD Value and FFE can contain "|" in its expression. And in INF specification, have below rule.
# When using the characters "|" or "||" in an expression, the expression must be encapsulated in
# open "(" and close ")" parenthesis.
#
diff --git a/BaseTools/Source/Python/UPT/Logger/StringTable.py b/BaseTools/Source/Python/UPT/Logger/StringTable.py index 7782d26..13c0158 100644 --- a/BaseTools/Source/Python/UPT/Logger/StringTable.py +++ b/BaseTools/Source/Python/UPT/Logger/StringTable.py @@ -251,7 +251,7 @@ ERR_ASBUILD_PCD_SECTION_TYPE = _("The AsBuilt INF file contains a PCD section ty ERR_ASBUILD_PATCHPCD_FORMAT_INVALID = _("The AsBuilt PatchPcd entry must contain 3 elements: PcdName|Value|Offset")
ERR_ASBUILD_PCDEX_FORMAT_INVALID = _("The AsBuilt PcdEx entry must contain one element: PcdName")
ERR_ASBUILD_PCD_VALUE_INVALID = \
- _("The AsBuilt PCD value %s is incorrect or not align with it's datum type %s. "
+ _("The AsBuilt PCD value %s is incorrect or not align with its datum type %s. "
"It must be corrected before continuing.")
ERR_ASBUILD_PCD_TOKENSPACE_GUID_VALUE_MISS = _("Package file value could not be retrieved for %s.")
ERR_ASBUILD_PCD_DECLARITION_MISS = _("PCD Declaration in DEC files could not be found for: %s.")
diff --git a/BaseTools/Source/Python/UPT/Object/Parser/InfBuildOptionObject.py b/BaseTools/Source/Python/UPT/Object/Parser/InfBuildOptionObject.py index 3383dc4..fdba5db 100644 --- a/BaseTools/Source/Python/UPT/Object/Parser/InfBuildOptionObject.py +++ b/BaseTools/Source/Python/UPT/Object/Parser/InfBuildOptionObject.py @@ -49,7 +49,7 @@ class InfBuildOptionsObject(InfSectionCommonDef): InfSectionCommonDef.__init__(self)
## SetBuildOptions function
#
- # For BuildOptionName, need to validate it's format
+ # For BuildOptionName, need to validate its format
# For BuildOptionValue, just ignore it.
#
# @param Arch Indicated which arch of build options belong to.
|