#\r
# Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.<BR>\r
# (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
-# This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution. The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
#\r
\r
from __future__ import absolute_import\r
TAB_INF_DEFINES_VERSION_STRING : "_Version",\r
TAB_INF_DEFINES_VERSION : "_Version",\r
TAB_INF_DEFINES_PCD_IS_DRIVER : "_PcdIsDriver",\r
- TAB_INF_DEFINES_SHADOW : "_Shadow",\r
-\r
- TAB_COMPONENTS_SOURCE_OVERRIDE_PATH : "_SourceOverridePath",\r
+ TAB_INF_DEFINES_SHADOW : "_Shadow"\r
}\r
\r
# regular expression for converting XXX_FLAGS in [nmake] section to new type\r
self._Target = Target\r
self._Toolchain = Toolchain\r
self._Platform = TAB_COMMON\r
- if FilePath.Key in GlobalData.gOverrideDir:\r
- self._SourceOverridePath = GlobalData.gOverrideDir[FilePath.Key]\r
- else:\r
- self._SourceOverridePath = None\r
self._TailComments = None\r
self._BaseName = None\r
self._DxsFile = None\r
\r
## Retrieve all information in [Defines] section\r
#\r
- # (Retriving all [Defines] information in one-shot is just to save time.)\r
+ # (Retrieving all [Defines] information in one-shot is just to save time.)\r
#\r
@cached_class_function\r
def _GetHeaderInfo(self):\r
@cached_property\r
def Includes(self):\r
RetVal = []\r
- if self._SourceOverridePath:\r
- RetVal.append(self._SourceOverridePath)\r
-\r
Macros = self._Macros\r
Macros['PROCESSOR'] = GlobalData.gEdkGlobal.get('PROCESSOR', self._Arch)\r
RecordList = self._RawData[MODEL_EFI_INCLUDE, self._Arch, self._Platform]\r
RetVal[Arch, ModuleType] = TemporaryDictionary[Arch, ModuleType]\r
return RetVal\r
\r
- ## Retrieve depedency expression\r
+ ## Retrieve dependency expression\r
@cached_property\r
def DepexExpression(self):\r
RetVal = tdict(False, 2)\r