diff options
author | Yonghong Zhu <yonghong.zhu@intel.com> | 2016-06-13 18:00:52 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-07-13 09:33:51 +0800 |
commit | a39da0bf2ec4b99398cc4b5504638e4e701311b9 (patch) | |
tree | 4edd5df397a5044e9cc5a175df754bcc6e5723ab /BaseTools/Source | |
parent | 5eccc1ad5e3f81f8c98018033f699ca19b10b3bf (diff) | |
download | edk2-platforms-a39da0bf2ec4b99398cc4b5504638e4e701311b9.tar.xz |
BaseTools: ignore the binary LIB file in gen_libs
For single module build, it would call gen_libs target. then if it use
binary LIB file, it cause build failure.
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
(cherry picked from commit 8832c79d6439adc09d7cc89b22268899026ff7f8)
Diffstat (limited to 'BaseTools/Source')
-rw-r--r-- | BaseTools/Source/Python/AutoGen/GenMake.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/AutoGen/GenMake.py b/BaseTools/Source/Python/AutoGen/GenMake.py index be07e46684..c8c5fc5386 100644 --- a/BaseTools/Source/Python/AutoGen/GenMake.py +++ b/BaseTools/Source/Python/AutoGen/GenMake.py @@ -867,7 +867,8 @@ cleanlib: ## For creating makefile targets for dependent libraries
def ProcessDependentLibrary(self):
for LibraryAutoGen in self._AutoGenObject.LibraryAutoGenList:
- self.LibraryBuildDirectoryList.append(self.PlaceMacro(LibraryAutoGen.BuildDir, self.Macros))
+ if not LibraryAutoGen.IsBinaryModule:
+ self.LibraryBuildDirectoryList.append(self.PlaceMacro(LibraryAutoGen.BuildDir, self.Macros))
## Return a list containing source file's dependencies
#
|