diff options
author | Yonghong Zhu <yonghong.zhu@intel.com> | 2016-06-13 18:00:52 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2016-06-15 08:56:17 +0800 |
commit | 8832c79d6439adc09d7cc89b22268899026ff7f8 (patch) | |
tree | 64e05927ede005ff5e8effbd0957f3eafee454da /BaseTools | |
parent | 86472c1bd2b845ed979a94022be93f790090eb7e (diff) | |
download | edk2-8832c79d6439adc09d7cc89b22268899026ff7f8.tar.gz edk2-8832c79d6439adc09d7cc89b22268899026ff7f8.tar.bz2 edk2-8832c79d6439adc09d7cc89b22268899026ff7f8.zip |
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>
Diffstat (limited to 'BaseTools')
-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
#
|