diff options
author | Hess Chen <hesheng.chen@intel.com> | 2014-08-26 07:14:38 +0000 |
---|---|---|
committer | hchen30 <hchen30@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-08-26 07:14:38 +0000 |
commit | fae62ff21a2127df1cf2672aecd1faad95b4a6e7 (patch) | |
tree | 16bf088bea8340fd84856f4fb8c5fd7eb93901d4 /BaseTools/Source/Python/AutoGen/AutoGen.py | |
parent | 421ccda3079077dd613308526e02d797f5cc356a (diff) | |
download | edk2-platforms-fae62ff21a2127df1cf2672aecd1faad95b4a6e7.tar.xz |
This patch is going to:
1. Support a force binary build mode by adding “--ignore-source” to command line options.
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
Diffstat (limited to 'BaseTools/Source/Python/AutoGen/AutoGen.py')
-rw-r--r-- | BaseTools/Source/Python/AutoGen/AutoGen.py | 2 |
1 files changed, 2 insertions, 0 deletions
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
|