From fae62ff21a2127df1cf2672aecd1faad95b4a6e7 Mon Sep 17 00:00:00 2001
From: Hess Chen <hesheng.chen@intel.com>
Date: Tue, 26 Aug 2014 07:14:38 +0000
Subject: =?UTF-8?q?This=20patch=20is=20going=20to:=201.=20=20=20=20=20=20?=
 =?UTF-8?q?=20Support=20a=20force=20binary=20build=20mode=20by=20adding=20?=
 =?UTF-8?q?=E2=80=9C--ignore-source=E2=80=9D=20to=20command=20line=20optio?=
 =?UTF-8?q?ns.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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@15897 6f19259b-4bc3-4df7-8a09-765794883524
---
 BaseTools/Source/Python/AutoGen/AutoGen.py | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'BaseTools/Source/Python/AutoGen')

diff --git a/BaseTools/Source/Python/AutoGen/AutoGen.py b/BaseTools/Source/Python/AutoGen/AutoGen.py
index 2b4ba52e09..8c62ac8e72 100644
--- a/BaseTools/Source/Python/AutoGen/AutoGen.py
+++ b/BaseTools/Source/Python/AutoGen/AutoGen.py
@@ -3160,8 +3160,10 @@ class ModuleAutoGen(AutoGen):
     #                                       dependent libraries will be created
     #
     def CreateMakeFile(self, CreateLibraryMakeFile=True):
+        # Ignore generating makefile when it is a binary module
         if self.IsBinaryModule:
             return
+
         if self.IsMakeFileCreated:
             return
 
-- 
cgit v1.2.3