diff options
author | Pierre Gondois <Pierre.Gondois@arm.com> | 2021-09-23 16:59:02 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-09-29 14:31:37 +0000 |
commit | 445c39f757f5204c2259d00930972b960483f6a4 (patch) | |
tree | eab783510a52c7ff1be11f2c9003c784050ae6e2 /BaseTools | |
parent | 259c184c8fc8b8a9c300347003312565f1a6f73b (diff) | |
download | edk2-445c39f757f5204c2259d00930972b960483f6a4.zip edk2-445c39f757f5204c2259d00930972b960483f6a4.tar.gz edk2-445c39f757f5204c2259d00930972b960483f6a4.tar.bz2 |
BaseTools: Remove Makefile/MakefileName fields
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3653
The Makefile and MakefilName fields are never set/used. Remove them.
To check this, the following commands can be used:
- grep -rIn "\.Makefile"
- grep -rIn "\.MakefileName"
Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
Reviewed-by: Chris Jones <christopher.jones@arm.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Diffstat (limited to 'BaseTools')
-rwxr-xr-x | BaseTools/Source/Python/AutoGen/ModuleAutoGen.py | 1 | ||||
-rw-r--r-- | BaseTools/Source/Python/Workspace/BuildClassObject.py | 2 | ||||
-rwxr-xr-x | BaseTools/Source/Python/build/build.py | 2 |
3 files changed, 0 insertions, 5 deletions
diff --git a/BaseTools/Source/Python/AutoGen/ModuleAutoGen.py b/BaseTools/Source/Python/AutoGen/ModuleAutoGen.py index d70b0d7..368a310 100755 --- a/BaseTools/Source/Python/AutoGen/ModuleAutoGen.py +++ b/BaseTools/Source/Python/AutoGen/ModuleAutoGen.py @@ -254,7 +254,6 @@ class ModuleAutoGen(AutoGen): self.AutoGenDepSet = set()
self.ReferenceModules = []
self.ConstPcd = {}
- self.Makefile = None
self.FileDependCache = {}
def __init_platform_info__(self):
diff --git a/BaseTools/Source/Python/Workspace/BuildClassObject.py b/BaseTools/Source/Python/Workspace/BuildClassObject.py index 88a1d15..ef87372 100644 --- a/BaseTools/Source/Python/Workspace/BuildClassObject.py +++ b/BaseTools/Source/Python/Workspace/BuildClassObject.py @@ -590,7 +590,6 @@ class PackageBuildClassObject(BuildData): # @var OutputDirectory: To store value for OutputDirectory
# @var FlashDefinition: To store value for FlashDefinition
# @var BuildNumber: To store value for BuildNumber
-# @var MakefileName: To store value for MakefileName
# @var SkuIds: To store value for SkuIds, it is a set structure as
# { 'SkuName' : SkuId, '!include' : includefilename, ...}
# @var Modules: To store value for Modules, it is a list structure as
@@ -614,7 +613,6 @@ class PlatformBuildClassObject(BuildData): self.OutputDirectory = ''
self.FlashDefinition = ''
self.BuildNumber = ''
- self.MakefileName = ''
self.SkuIds = {}
self.Modules = []
diff --git a/BaseTools/Source/Python/build/build.py b/BaseTools/Source/Python/build/build.py index 5808136..e4969d8 100755 --- a/BaseTools/Source/Python/build/build.py +++ b/BaseTools/Source/Python/build/build.py @@ -2186,8 +2186,6 @@ class Build(): Pa.CreateLibModuelDirs()
# Fetch the MakeFileName.
self.MakeFileName = Pa.MakeFileName
- if not self.MakeFileName:
- self.MakeFileName = Pa.MakeFile
Pa.DataPipe.DataContainer = {"LibraryBuildDirectoryList":Pa.LibraryBuildDirectoryList}
Pa.DataPipe.DataContainer = {"ModuleBuildDirectoryList":Pa.ModuleBuildDirectoryList}
|