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
This commit is contained in:
Hess Chen
2014-08-26 07:14:38 +00:00
committed by hchen30
parent 421ccda307
commit fae62ff21a
3 changed files with 10 additions and 0 deletions

View File

@ -2051,6 +2051,11 @@ class InfBuildData(ModuleBuildClassObject):
return False
## Retrieve source files
def _GetSourceFiles(self):
#Ignore all source files in a binary build mode
if GlobalData.gIgnoreSource:
self._Sources = []
return self._Sources
if self._Sources == None:
self._Sources = []
RecordList = self._RawData[MODEL_EFI_SOURCE_FILE, self._Arch, self._Platform]