for Inf in self._AsBuildInfList:\r
InfClass = PathClass(NormPath(Inf), GlobalData.gWorkspace, self.Arch)\r
M = self.BuildDatabase[InfClass, self.Arch, self.BuildTarget, self.ToolChain]\r
- if not M.IsSupportedArch:\r
+ if not M.IsBinaryModule:\r
continue\r
self._AsBuildModuleList.append(InfClass)\r
# get library/modules for build\r
# If a module INF in FDF but not in current arch's DSC module list, it must be module (either binary or source)\r
# for different Arch. PCDs in source module for different Arch is already added before, so skip the source module here.\r
# For binary module, if in current arch, we need to list the PCDs into database.\r
- if not M.IsSupportedArch:\r
+ if not M.IsBinaryModule:\r
continue\r
# Override the module PCD setting by platform setting\r
ModulePcdList = self.ApplyPcdSetting(M, M.Pcds)\r
EdkLogger.error('build', RESOURCE_NOT_AVAILABLE, ExtraData=ErrorInfo, File=self.MetaFile)\r
\r
return Binaries\r
- ## Check whether it exists the binaries with current ARCH in AsBuild INF\r
- def _IsSupportedArch(self):\r
- if self._GetBinaries() and not self._GetSourceFiles():\r
- return True\r
- else:\r
- return False\r
+\r
## Retrieve source files\r
def _GetSourceFiles(self):\r
# Ignore all source files in a binary build mode\r
Depex = property(_GetDepex)\r
DepexExpression = property(_GetDepexExpression)\r
IsBinaryModule = property(_IsBinaryModule)\r
- IsSupportedArch = property(_IsSupportedArch)\r