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/UPT | |
parent | d031fc07eb83c9d13bff3ebac25da458d5a47917 (diff) | |
download | edk2-2d53d54a5bf5f9ba9379e465f49ac9cdc55035de.tar.gz edk2-2d53d54a5bf5f9ba9379e465f49ac9cdc55035de.tar.bz2 edk2-2d53d54a5bf5f9ba9379e465f49ac9cdc55035de.zip |
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/UPT')
4 files changed, 4 insertions, 4 deletions
diff --git a/BaseTools/Source/Python/UPT/Library/DataType.py b/BaseTools/Source/Python/UPT/Library/DataType.py index 88559bcc43..bd216786a5 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 e43924fa6c..fbc5177caf 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 7782d26238..13c015844e 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 3383dc4b0f..fdba5db983 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.
|