summaryrefslogtreecommitdiff
path: root/BaseTools
diff options
context:
space:
mode:
authorHess Chen <hesheng.chen@intel.com>2014-09-04 08:32:44 +0000
committerhchen30 <hchen30@6f19259b-4bc3-4df7-8a09-765794883524>2014-09-04 08:32:44 +0000
commit49d9b71df24a5f598df39afc6c13845e00e8f52b (patch)
tree00e29c132d203c44200466ba163c0634b7abf463 /BaseTools
parent5a51ad8d20911f31b526a566945f1915c2c41db2 (diff)
downloadedk2-platforms-49d9b71df24a5f598df39afc6c13845e00e8f52b.tar.xz
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.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/AutoGen/AutoGen.py b/BaseTools/Source/Python/AutoGen/AutoGen.py
index 0b65828459..7c0d7a4509 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: