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 10:24:13 +0800 |
commit | b005802a1c860a0f7ed9a727ce3ffc3ea7f9c441 (patch) | |
tree | f611bf74fa7bff976e79d012d022b46208943882 /BaseTools/Source/Python/Workspace/DscBuildData.py | |
parent | 58204afac35108a1a6126d19210af08974e354cb (diff) | |
download | edk2-b005802a1c860a0f7ed9a727ce3ffc3ea7f9c441.tar.gz edk2-b005802a1c860a0f7ed9a727ce3ffc3ea7f9c441.tar.bz2 edk2-b005802a1c860a0f7ed9a727ce3ffc3ea7f9c441.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>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/DscBuildData.py')
-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():
|