From 2f2c51acfb70efe3dd02022ca09dd853601d8acd Mon Sep 17 00:00:00 2001 From: "Feng, Bob C" Date: Fri, 15 Mar 2019 22:59:29 +0800 Subject: BaseTools: Remove the logic SourceOverridePath BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1350 SOURCE_OVERRIDE_PATH is for EDK component INF files. The corresponding logic should be removed. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Bob Feng Cc: Liming Gao Reviewed-by: Liming Gao --- BaseTools/Source/Python/Workspace/InfBuildData.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'BaseTools/Source/Python/Workspace/InfBuildData.py') diff --git a/BaseTools/Source/Python/Workspace/InfBuildData.py b/BaseTools/Source/Python/Workspace/InfBuildData.py index 6148ab0d30..9fed1198fd 100644 --- a/BaseTools/Source/Python/Workspace/InfBuildData.py +++ b/BaseTools/Source/Python/Workspace/InfBuildData.py @@ -100,9 +100,7 @@ class InfBuildData(ModuleBuildClassObject): TAB_INF_DEFINES_VERSION_STRING : "_Version", TAB_INF_DEFINES_VERSION : "_Version", TAB_INF_DEFINES_PCD_IS_DRIVER : "_PcdIsDriver", - TAB_INF_DEFINES_SHADOW : "_Shadow", - - TAB_COMPONENTS_SOURCE_OVERRIDE_PATH : "_SourceOverridePath", + TAB_INF_DEFINES_SHADOW : "_Shadow" } # regular expression for converting XXX_FLAGS in [nmake] section to new type @@ -135,10 +133,6 @@ class InfBuildData(ModuleBuildClassObject): self._Target = Target self._Toolchain = Toolchain self._Platform = TAB_COMMON - if FilePath.Key in GlobalData.gOverrideDir: - self._SourceOverridePath = GlobalData.gOverrideDir[FilePath.Key] - else: - self._SourceOverridePath = None self._TailComments = None self._BaseName = None self._DxsFile = None @@ -667,9 +661,6 @@ class InfBuildData(ModuleBuildClassObject): @cached_property def Includes(self): RetVal = [] - if self._SourceOverridePath: - RetVal.append(self._SourceOverridePath) - Macros = self._Macros Macros['PROCESSOR'] = GlobalData.gEdkGlobal.get('PROCESSOR', self._Arch) RecordList = self._RawData[MODEL_EFI_INCLUDE, self._Arch, self._Platform] -- cgit v1.2.3