diff options
Diffstat (limited to 'BaseTools/Source')
-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 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:
|