From 49d9b71df24a5f598df39afc6c13845e00e8f52b Mon Sep 17 00:00:00 2001 From: Hess Chen Date: Thu, 4 Sep 2014 08:32:44 +0000 Subject: 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 Reviewed-by: Yingke Liu git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16057 6f19259b-4bc3-4df7-8a09-765794883524 --- BaseTools/Source/Python/AutoGen/AutoGen.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'BaseTools') 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: -- cgit v1.2.3