summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python
diff options
context:
space:
mode:
authorPhilipp Schuster <philipp.schuster@cyberus-technology.de>2025-11-04 10:24:54 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-11-22 00:49:59 +0300
commite0184abff13fccd9df69bb44fa9edbd4062cc99e (patch)
tree0b0b81d0dfc0b9192d0456a2bd34099456b84812 /BaseTools/Source/Python
parenta05741456683623554419debf7e18fc551790b9f (diff)
downloadedk2-e0184abff13fccd9df69bb44fa9edbd4062cc99e.tar.xz
BaseTools: fix various typos
This commit is the first in a series of multiple commits to fix various typos in the code, originating mostly from copy&paste over the years. Most of them only affect documentation and not code. Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
Diffstat (limited to 'BaseTools/Source/Python')
-rwxr-xr-xBaseTools/Source/Python/AutoGen/ModuleAutoGen.py4
-rw-r--r--BaseTools/Source/Python/Workspace/DscBuildData.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/BaseTools/Source/Python/AutoGen/ModuleAutoGen.py b/BaseTools/Source/Python/AutoGen/ModuleAutoGen.py
index 764c51789b..c358d7f0e3 100755
--- a/BaseTools/Source/Python/AutoGen/ModuleAutoGen.py
+++ b/BaseTools/Source/Python/AutoGen/ModuleAutoGen.py
@@ -1850,7 +1850,7 @@ class ModuleAutoGen(AutoGen):
if lines:
DependencyFileSet.update(lines)
- # Caculate all above dependency files hash
+ # Calculate all above dependency files hash
# Initialze hash object
FileList = []
m = hashlib.md5()
@@ -1905,7 +1905,7 @@ class ModuleAutoGen(AutoGen):
DependencyFileSet.update(rt)
- # Caculate all above dependency files hash
+ # Calculate all above dependency files hash
# Initialze hash object
FileList = []
m = hashlib.md5()
diff --git a/BaseTools/Source/Python/Workspace/DscBuildData.py b/BaseTools/Source/Python/Workspace/DscBuildData.py
index 248c562956..014f6d0805 100644
--- a/BaseTools/Source/Python/Workspace/DscBuildData.py
+++ b/BaseTools/Source/Python/Workspace/DscBuildData.py
@@ -1588,7 +1588,7 @@ class DscBuildData(PlatformBuildClassObject):
S_pcd_set = DscBuildData.OverrideByFdf(S_pcd_set,self.WorkspaceDir)
S_pcd_set = DscBuildData.OverrideByComm(S_pcd_set)
- # Create a tool to caculate structure pcd value
+ # Create a tool to calculate structure pcd value
Str_Pcd_Values = self.GenerateByteArrayValue(S_pcd_set)
if Str_Pcd_Values: