/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/ |
InfAsBuiltProcess.py | 41 # @param WorkSpace. The WorkSpace directory used to combined with INF file path.
44 def GetLibInstanceInfo(String, WorkSpace, LineNo, CurrentInfFileName):
81 FileLinesList = GetFileLineContent(String, WorkSpace, LineNo, OrignalString)
105 # @param WorkSpace. The WorkSpace directory used to combined with INF file path.
108 def GetPackageListInfo(FileNameString, WorkSpace, LineNo):
113 FileLinesList = GetFileLineContent(FileNameString, WorkSpace, LineNo, '')
186 def GetFileLineContent(FileName, WorkSpace, LineNo, OriginalString):
194 FullFileName = os.path.normpath(os.path.realpath(os.path.join(WorkSpace, FileName))) [all...] |
/device/linaro/bootloader/edk2/OvmfPkg/PlatformPei/ |
FeatureControl.c | 36 @param[in,out] WorkSpace Pointer to the input/output argument workspace
43 IN OUT VOID *WorkSpace
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/TargetTool/ |
TargetTool.py | 30 self.WorkSpace = os.path.normpath(os.getenv('WORKSPACE'))
33 self.FileName = os.path.normpath(os.path.join(self.WorkSpace, 'Conf', 'target.txt'))
99 fw = open(os.path.normpath(os.path.join(self.WorkSpace, 'Conf\\targetnew.txt')), 'w')
133 os.rename(os.path.normpath(os.path.join(self.WorkSpace, 'Conf\\targetnew.txt')), self.FileName)
142 dscFullPath = os.path.join(self.WorkSpace, self.Opt.DSCFILE)
149 tooldefFullPath = os.path.join(self.WorkSpace, self.Opt.TOOL_DEFINITION_FILE)
169 buildruleFullPath = os.path.join(self.WorkSpace, self.Opt.BUILD_RULE_FILE)
211 help="Specify the WORKSPACE relative path of tool_def.txt file, which replace target.txt's TOOL_CHAIN_CONF definition. 0 will clear this setting in target.txt and can't combine with other value.")
226 if os.getenv('WORKSPACE') == None: [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/ |
AprioriSection.py | 82 Inf = GenFdsGlobalVariable.WorkSpace.BuildObject[PathClass(InfFileName, GenFdsGlobalVariable.WorkSpaceDir), Arch, GenFdsGlobalVariable.TargetName, GenFdsGlobalVariable.ToolChainTag]
86 Inf = GenFdsGlobalVariable.WorkSpace.BuildObject[PathClass(InfFileName, GenFdsGlobalVariable.WorkSpaceDir), 'COMMON', GenFdsGlobalVariable.TargetName, GenFdsGlobalVariable.ToolChainTag]
|
DepexSection.py | 42 PkgList = GenFdsGlobalVariable.WorkSpace.GetPackageList(GenFdsGlobalVariable.ActivePlatform,
48 ModuleData = GenFdsGlobalVariable.WorkSpace.BuildObject[
|
GenFdsGlobalVariable.py | 47 WorkSpace = None
140 Macro["WORKSPACE" ] = GenFdsGlobalVariable.WorkSpaceDir
274 # @param Workspace The directory of workspace
277 def SetDir (OutputDir, FdfParser, WorkSpace, ArchList):
281 GenFdsGlobalVariable.WorkSpace = WorkSpace
301 if GenFdsGlobalVariable.WorkSpace.BuildObject[GenFdsGlobalVariable.ActivePlatform, Arch, GenFdsGlobalVariable.TargetName, GenFdsGlobalVariable.ToolChainTag].BsBaseAddress:
302 BsAddress = GenFdsGlobalVariable.WorkSpace.BuildObject[GenFdsGlobalVariable.ActivePlatform, Arch, GenFdsGlobalVariable.TargetName, GenFdsGlobalVariable.ToolChainTag].BsBaseAddress
311 if GenFdsGlobalVariable.WorkSpace.BuildObject[GenFdsGlobalVariable.ActivePlatform, Arch, GenFdsGlobalVariable.TargetName, GenFdsGlob (…) [all...] |
FfsInfStatement.py | 91 PlatformDataBase = GenFdsGlobalVariable.WorkSpace.BuildObject[GenFdsGlobalVariable.ActivePlatform, self.CurrentArch, GenFdsGlobalVariable.TargetName, GenFdsGlobalVariable.ToolChainTag]
134 LibraryModule = GenFdsGlobalVariable.WorkSpace.BuildObject[LibraryPath, self.CurrentArch, GenFdsGlobalVariable.TargetName, GenFdsGlobalVariable.ToolChainTag]
155 self.InfFileName = self.InfFileName.replace('$(WORKSPACE)', '')
186 Inf = GenFdsGlobalVariable.WorkSpace.BuildObject[PathClassObj, self.CurrentArch, GenFdsGlobalVariable.TargetName, GenFdsGlobalVariable.ToolChainTag]
204 Inf = GenFdsGlobalVariable.WorkSpace.BuildObject[PathClassObj, 'COMMON', GenFdsGlobalVariable.TargetName, GenFdsGlobalVariable.ToolChainTag]
232 Platform = GenFdsGlobalVariable.WorkSpace.BuildObject[GenFdsGlobalVariable.ActivePlatform, self.CurrentArch, GenFdsGlobalVariable.TargetName, GenFdsGlobalVariable.ToolChainTag]
235 # Workaround here: both build and GenFds tool convert the workspace path to lower case
327 # Set OutputPath = ${WorkSpace}\Build\Fv\Ffs\${ModuleGuid}+ ${MdouleName}\
569 PlatformDataBase = GenFdsGlobalVariable.WorkSpace.BuildObject[GenFdsGlobalVariable.ActivePlatform, Arch, GenFdsGlobalVariable.TargetName, GenFdsGlobalVariable.ToolChainTag]
[all...] |
GenFds.py | 25 from Workspace.WorkspaceDatabase import WorkspaceDatabase
26 from Workspace.BuildClassObject import PcdClassObject
27 from Workspace.BuildClassObject import ModuleBuildClassObject
63 global Workspace
64 Workspace = ""
85 if (Options.Workspace == None):
86 EdkLogger.error("GenFds", OPTION_MISSING, "WORKSPACE not defined",
87 ExtraData="Please use '-w' switch to pass it or set the WORKSPACE environment variable.")
88 elif not os.path.exists(Options.Workspace):
89 EdkLogger.error("GenFds", PARAMETER_INVALID, "WORKSPACE is invalid", [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/ |
MetaDataParser.py | 26 def GetIncludeListOfFile(WorkSpace, Filepath, Db):
37 DecFullPath = os.path.normpath(mws.join(WorkSpace, Record[0]))
38 InfFullPath = os.path.normpath(mws.join(WorkSpace, Record[1]))
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/PomAdapter/ |
InfPomAlignment.py | 66 def __init__(self, FileName, WorkSpace=None, PackagePath='', Skip=False):
70 self.WorkSpace = WorkSpace
100 self.Parser = InfParser.InfParser(self.FileName, self.WorkSpace)
156 CombinePath = GetRelativePath(self.FullPath, self.WorkSpace)
537 PkgInfo = GetPkgInfoFromDec(mws.join(self.WorkSpace, NormPath(PackageItemObj.GetPackageName())))
[all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/ |
Misc.py | 576 ## Get current workspace
578 # get WORKSPACE from environment variable if present,if not use current working directory as WORKSPACE
582 # check WORKSPACE
584 if "WORKSPACE" in environ:
585 WorkspaceDir = os.path.normpath(environ["WORKSPACE"])
604 # use full path and workspace to get relative path
608 # @param Workspace: a string of workspace
610 def GetRelativePath(Fullpath, Workspace): [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/ |
Parser.py | 133 # @param WorkSpace: WORKSPACE path
139 def GetIncludeListOfFile(WorkSpace, Filepath, Db):
149 DecFullPath = os.path.normpath(os.path.join(WorkSpace, Record[0]))
[all...] |
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/ |
bld_vlv.bat | 23 set WORKSPACE=%CD%
24 if %WORKSPACE:~-1%==\ set WORKSPACE=%WORKSPACE:~0,-1%
32 if exist %WORKSPACE%\%PLATFORM_PACKAGE%\EDK2_%PLATFORM_PACKAGE%.log del %WORKSPACE%\%PLATFORM_PACKAGE%\EDK2_%PLATFORM_PACKAGE%.log
33 if exist %WORKSPACE%\%PLATFORM_PACKAGE%\EDK2_%PLATFORM_PACKAGE%.report del %WORKSPACE%\%PLATFORM_PACKAGE%\EDK2_%PLATFORM_PACKAGE%.report
34 if exist %WORKSPACE%\unitool.log del %WORKSPACE%\unitool.log [all...] |