diff options
author | Liming Gao <liming.gao@intel.com> | 2018-03-22 23:22:06 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2018-03-23 11:31:53 +0800 |
commit | c91229c9b9eaf51c01b9e547828cc9ac5049e05a (patch) | |
tree | 4e1fa7cc0e25c76a16b0d139a83e6a80625ff0f4 /BaseTools | |
parent | 0a93e457f7b8669e6325aeed832c95e3af829a34 (diff) | |
download | edk2-c91229c9b9eaf51c01b9e547828cc9ac5049e05a.tar.gz edk2-c91229c9b9eaf51c01b9e547828cc9ac5049e05a.tar.bz2 edk2-c91229c9b9eaf51c01b9e547828cc9ac5049e05a.zip |
BaseTools: Add the missing package include directory in PcdValueInit Makefile
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com>
Cc: Feng Bob C <bob.c.feng@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
(cherry picked from commit b005802a1c860a0f7ed9a727ce3ffc3ea7f9c441)
Diffstat (limited to 'BaseTools')
-rw-r--r-- | BaseTools/Source/Python/Workspace/DscBuildData.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Workspace/DscBuildData.py b/BaseTools/Source/Python/Workspace/DscBuildData.py index 8fe4d4f5cb..1cc4dc9662 100644 --- a/BaseTools/Source/Python/Workspace/DscBuildData.py +++ b/BaseTools/Source/Python/Workspace/DscBuildData.py @@ -2047,7 +2047,9 @@ class DscBuildData(PlatformBuildClassObject): continue
if Cache.Includes:
if str(Cache.MetaFile.Path) not in PlatformInc:
- PlatformInc[str(Cache.MetaFile.Path)] = Cache.CommonIncludes
+ PlatformInc[str(Cache.MetaFile.Path)] = []
+ PlatformInc[str(Cache.MetaFile.Path)].append (os.path.dirname(Cache.MetaFile.Path))
+ PlatformInc[str(Cache.MetaFile.Path)].extend (Cache.CommonIncludes)
PcdDependDEC = []
for Pcd in StructuredPcds.values():
|