diff options
author | Hess Chen <hesheng.chen@intel.com> | 2014-09-04 08:32:44 +0000 |
---|---|---|
committer | hchen30 <hchen30@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-09-04 08:32:44 +0000 |
commit | 49d9b71df24a5f598df39afc6c13845e00e8f52b (patch) | |
tree | 00e29c132d203c44200466ba163c0634b7abf463 /BaseTools | |
parent | 5a51ad8d20911f31b526a566945f1915c2c41db2 (diff) | |
download | edk2-49d9b71df24a5f598df39afc6c13845e00e8f52b.zip edk2-49d9b71df24a5f598df39afc6c13845e00e8f52b.tar.gz edk2-49d9b71df24a5f598df39afc6c13845e00e8f52b.tar.bz2 |
BaseTools/AutoGen: Remove redundant copy action for binary module
Remove redundant copy action for binary module to copy binary files to output directory only when the binary module is a library
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hess Chen <hesheng.chen@intel.com>
Reviewed-by: Yingke Liu <yingke.d.liu@Intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16057 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools')
-rw-r--r-- | BaseTools/Source/Python/AutoGen/AutoGen.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/AutoGen/AutoGen.py b/BaseTools/Source/Python/AutoGen/AutoGen.py index 0b65828..7c0d7a4 100644 --- a/BaseTools/Source/Python/AutoGen/AutoGen.py +++ b/BaseTools/Source/Python/AutoGen/AutoGen.py @@ -3429,7 +3429,8 @@ class ModuleAutoGen(AutoGen): CreatePcdDatabaseCode(self, TemplateString(), TemplateString())
return
if self.IsBinaryModule:
- self.CopyBinaryFiles()
+ if self.IsLibrary:
+ self.CopyBinaryFiles()
return
if not self.IsLibrary and CreateLibraryCodeFile:
|