Home
last modified time | relevance | path

Searched refs:WorkspaceDir (Results 1 – 25 of 29) sorted by relevance

12

/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/
DRmPkg.py49 def CheckDpDepex(Dep, Guid, Version, WorkspaceDir): argument
66 … LogFilePath = os.path.normpath(os.path.join(WorkspaceDir, GlobalData.gINVALID_MODULE_FILE))
106 def GetCurrentFileList(DataBase, Guid, Version, WorkspaceDir): argument
109 RootDir = os.path.normpath(os.path.join(WorkspaceDir, Dir))
135 WorkspaceDir = GlobalData.gWORKSPACE
144 …DistFile, Guid, Version = GetInstalledDpInfo(Options.DistributionFile, Dep, DataBase, WorkspaceDir)
149 CheckDpDepex(Dep, Guid, Version, WorkspaceDir)
154 RemoveDist(Guid, Version, StoredDistFile, DataBase, WorkspaceDir, Options.Yes)
195 def GetInstalledDpInfo(DistributionFile, Dep, DataBase, WorkspaceDir): argument
209 … StoredDistFile = os.path.normpath(os.path.join(WorkspaceDir, GlobalData.gUPT_DIR, NewDpFileName))
[all …]
DInstallPkg.py66 def InstallNewPackage(WorkspaceDir, Path, CustomPath = False): argument
74 FullPath = os.path.normpath(os.path.join(WorkspaceDir, Path))
85 return InstallNewPackage(WorkspaceDir, Input, False)
93 def InstallNewModule(WorkspaceDir, Path, PathList = None): argument
98 FullPath = os.path.normpath(os.path.join(WorkspaceDir, Path))
111 return InstallNewModule(WorkspaceDir, Input, PathList)
119 def InstallNewFile(WorkspaceDir, File): argument
120 FullPath = os.path.normpath(os.path.join(WorkspaceDir, File))
128 return InstallNewFile(WorkspaceDir, Input)
136 def UnZipDp(WorkspaceDir, DpPkgFileName): argument
[all …]
DMkPkg.py81 WorkspaceDir = GlobalData.gWORKSPACE
125 chdir(WorkspaceDir)
140 FileFullPath = mws.join(WorkspaceDir, FromFile)
164 DistPkg.GetDistributionPackage(WorkspaceDir, Options.PackageFileList, \
168 FileFullPath = os.path.normpath(os.path.join(WorkspaceDir, File))
187 chdir(WorkspaceDir)
259 WorkspaceDir = GlobalData.gWORKSPACE
260 WorkspaceDir = os.path.normpath(WorkspaceDir)
268 Path = mws.join(WorkspaceDir, Item)
274 elif not IsValidPath(Item, WorkspaceDir):
DReplacePkg.py51 WorkspaceDir = GlobalData.gWORKSPACE
53 …DistPkg, ContentZipFile, DpPkgFileName, DistFile = UnZipDp(WorkspaceDir, Options.PackFileToReplace)
56 Dep, DataBase, WorkspaceDir)
66 RemoveDist(OrigDpGuid, OrigDpVersion, StoredDistFile, DataBase, WorkspaceDir, Options.Yes)
71 InstallDp(DistPkg, DpPkgFileName, ContentZipFile, Options, Dep, WorkspaceDir, DataBase)
DUPT.py192 WorkspaceDir = GlobalData.gWORKSPACE
196 Mgr = FileHook.RecoverMgr(WorkspaceDir)
199 GlobalData.gDB = IpiDatabase(os.path.normpath(os.path.join(WorkspaceDir, \
200 … "Conf/DistributionPackageDatabase.db")), WorkspaceDir)
214 … if not os.path.exists(os.path.join(WorkspaceDir, Opt.PackageInformationDataFile)):
217 … Opt.PackageInformationDataFile = os.path.join(WorkspaceDir, Opt.PackageInformationDataFile)
228 AbsPath = GetFullPathDist(Opt.PackFileToInstall, WorkspaceDir)
269 AbsPath = GetFullPathDist(Opt.PackFileToReplace, WorkspaceDir)
321 def GetFullPathDist(DistFile, WorkspaceDir): argument
330 AbsPath = os.path.normpath(os.path.join(WorkspaceDir, DistFile))
DTestInstall.py46 WorkspaceDir = GlobalData.gWORKSPACE
52 DistPkg, ContentZipFile, __, DistFile = UnZipDp(WorkspaceDir, DistFile)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DEdkIIWorkspace.py47 self.WorkspaceDir = os.path.realpath(os.environ.get('WORKSPACE'))
48 (Drive, Path) = os.path.splitdrive(self.WorkspaceDir)
52 self.WorkspaceDir = Drive + Path
54 self.WorkspaceDir = Drive.upper() + Path
103 if FileName.find(self.WorkspaceDir) != 0:
105 return FileName.replace (self.WorkspaceDir, '').strip('\\').strip('/')
116 return os.path.realpath(mws.join(self.WorkspaceDir,FileName))
127 return os.path.realpath(FileName.replace(TAB_WORKSPACE, self.WorkspaceDir))
DFdfClassObject.py41 def __init__(self, Filename = None, IsToDatabase = False, WorkspaceDir = None, Database = None): argument
42 self.WorkspaceDir = WorkspaceDir
DDscClassObject.py95 …def __init__(self, Filename=None, IsToDatabase=False, IsToPlatform=False, WorkspaceDir=None, Datab… argument
99 self.WorkspaceDir = WorkspaceDir
287 …Filename = CheckFileExist(self.WorkspaceDir, IncludeFile[0], ContainerFile, TAB_BUILD_OPTIONS, '',…
342 …Filename = CheckFileExist(self.WorkspaceDir, IncludeFile[0], ContainerFile, TAB_SKUIDS, '', Includ…
393 …Filename = CheckFileExist(self.WorkspaceDir, IncludeFile[0], ContainerFile, TAB_LIBRARIES, '', Inc…
436 …Filename = CheckFileExist(self.WorkspaceDir, IncludeFile[0], ContainerFile, TAB_LIBRARY_CLASSES, '…
440 …(LibraryClasses, GetLibraryClass([NewItem, IncludeFile[4]], Filename, self.WorkspaceDir, -1), Arch)
444 …upModelList) = GetLibraryClass([Record[0], Record[4]], ContainerFile, self.WorkspaceDir, Record[2])
495 …Filename = CheckFileExist(self.WorkspaceDir, IncludeFile[0], ContainerFile, Type, '', IncludeFile[…
545 …Filename = CheckFileExist(self.WorkspaceDir, IncludeFile[0], ContainerFile, Type, '', IncludeFile[…
[all …]
DString.py646 def CheckFileExist(WorkspaceDir, CheckFilename, ContainerFilename, SectionName, Line, LineNo= -1): argument
649 CheckFile = WorkspaceFile(WorkspaceDir, CheckFilename)
710 def WorkspaceFile(WorkspaceDir, Filename): argument
711 return mws.join(NormPath(WorkspaceDir), NormPath(Filename))
DEdkIIWorkspaceBuild.py432 def __init__(self, ActivePlatform, WorkspaceDir): argument
433 self.WorkspaceDir = NormPath(WorkspaceDir)
468 self.DscDatabase[self.DscFileName] = Dsc(File, False, True, self.WorkspaceDir, self.Db)
1192 return WorkspaceFile(self.WorkspaceDir, Filename)
1256 …self.InfDatabase[InfFileName] = Inf(File, False, True, self.WorkspaceDir, self.Db, self.SupArchLis…
1270 …self.DecDatabase[DecFileName] = Dec(File, False, True, self.WorkspaceDir, self.Db, self.SupArchLis…
DParsing.py252 def GetLibraryClass(Item, ContainerFile, WorkspaceDir, LineNo = -1): argument
259 CheckFileExist(WorkspaceDir, List[1], ContainerFile, 'LibraryClasses', Item[0], LineNo)
274 def GetLibraryClassOfInf(Item, ContainerFile, WorkspaceDir, LineNo = -1): argument
282 CheckFileExist(WorkspaceDir, ItemList[1], ContainerFile, 'LibraryClasses', Item[0], LineNo)
DDecClassObject.py86 …def __init__(self, Filename=None, IsToDatabase=False, IsToPackage=False, WorkspaceDir=None, Databa… argument
90 self.WorkspaceDir = WorkspaceDir
DInfClassObject.py167 …def __init__(self, Filename=None, IsToDatabase=False, IsToModule=False, WorkspaceDir=None, Databas… argument
171 self.WorkspaceDir = WorkspaceDir
754 …elList) = GetLibraryClassOfInf([Record[0], Record[4]], ContainerFile, self.WorkspaceDir, Record[2])
795 … (Package, Pcd) = GetPackage(Record[0], ContainerFile, self.WorkspaceDir, Record[2])
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Core/
DDistributionPackageClass.py113 def GetDistributionPackage(self, WorkspaceDir, PackageList, ModuleList): argument
115 Root = WorkspaceDir
123 WorkspaceDir = mws.getWs(Root, PackageFile)
124 DecObj = DecPomAlignment(PackageFileFullPath, WorkspaceDir, CheckMulDec=True)
147 … ModuleObj = InfPomAlignment(Filename, WorkspaceDir, PackageObj.GetPackagePath())
175 WorkspaceDir = mws.getWs(Root, ModuleFile)
178 ModuleObj = InfPomAlignment(ModuleFileFullPath, WorkspaceDir)
194 WorkspaceDir = Root
/device/linaro/bootloader/edk2/BaseTools/Source/Python/build/
Dbuild.py102 WorkspaceDir = os.path.normcase(os.path.normpath(os.environ["WORKSPACE"]))
103 if not os.path.exists(WorkspaceDir):
104 … EdkLogger.error("build", FILE_NOT_FOUND, "WORKSPACE doesn't exist", ExtraData="%s" % WorkspaceDir)
105 elif ' ' in WorkspaceDir:
107 ExtraData=WorkspaceDir)
108 os.environ["WORKSPACE"] = WorkspaceDir
112 mws.setWs(WorkspaceDir, PackagesPath)
124 os.environ["ECP_SOURCE"] = mws.join(WorkspaceDir, GlobalData.gEdkCompatibilityPkg)
169 if EfiSourceDir.upper().find(WorkspaceDir.upper()) != 0:
171 … ExtraData="WORKSPACE = %s\n EFI_SOURCE = %s" % (WorkspaceDir, EfiSourceDir))
[all …]
DBuildReport.py1419 InfPath = mws.join(Wa.WorkspaceDir, M.MetaFile.File)
1443 ModuleSectFile = mws.join(Wa.WorkspaceDir, Section.SectFileName)
1631 self._WorkspaceDir = Wa.WorkspaceDir
1637 self.OutputPath = os.path.join(Wa.WorkspaceDir, Wa.OutputDir)
1672 InfClass = PathClass(NormPath(InfName), Wa.WorkspaceDir, Pa.Arch)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/
DEcc.py73 WorkspaceDir = os.path.normcase(os.path.normpath(os.environ["WORKSPACE"]))
74 os.environ["WORKSPACE"] = WorkspaceDir
78 mws.setWs(WorkspaceDir, PackagesPath)
81 os.environ["ECP_SOURCE"] = mws.join(WorkspaceDir, GlobalData.gEdkCompatibilityPkg)
98 GlobalData.gWorkspace = WorkspaceDir
103 GlobalData.gGlobalDefines["WORKSPACE"] = WorkspaceDir
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/
DParsing.py80 def GetLibraryClass(Item, ContainerFile, WorkspaceDir, LineNo= -1): argument
89 CheckFileExist(WorkspaceDir, List[1], ContainerFile, \
105 def GetLibraryClassOfInf(Item, ContainerFile, WorkspaceDir, LineNo= -1): argument
117 CheckFileExist(WorkspaceDir, ItemList[1], ContainerFile, \
829 WorkspaceDir = GlobalData.gWORKSPACE
831 for PkgRoot in [WorkspaceDir] + PackageDir:
864 WorkspaceDir = GlobalData.gWORKSPACE
865 for Root, Dirs, Files in os.walk(WorkspaceDir):
DMisc.py585 WorkspaceDir = os.path.normpath(environ["WORKSPACE"])
586 if not os.path.exists(WorkspaceDir):
590 ExtraData="%s" % WorkspaceDir)
592 WorkspaceDir = os.getcwd()
594 if WorkspaceDir[-1] == ':':
595 WorkspaceDir += os.sep
598 mws.setWs(WorkspaceDir, PackagesPath)
600 return WorkspaceDir, mws.PACKAGES_PATH
DString.py553 def CheckFileExist(WorkspaceDir, CheckFilename, ContainerFilename, SectionName, Line, LineNo= -1): argument
556 CheckFile = WorkspaceFile(WorkspaceDir, CheckFilename)
612 def WorkspaceFile(WorkspaceDir, Filename): argument
613 return os.path.join(NormPath(WorkspaceDir), NormPath(Filename))
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/
DInfParser.py84 def __init__(self, Filename = None, WorkspaceDir = None): argument
91 self.WorkspaceDir = WorkspaceDir
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/PomAdapter/
DDecPomAlignment.py99 def __init__(self, Filename, WorkspaceDir = None, CheckMulDec = False): argument
102 self.WorkspaceDir = WorkspaceDir
134 self.SetPackagePath(GetRelativePath(Path, self.WorkspaceDir))
135 self.SetCombinePath(GetRelativePath(Filename, self.WorkspaceDir))
DInfPomAlignment.py75 self.WorkspaceDir = " "
152 self.WorkspaceDir = " "
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/
DAutoGen.py235 def _Init(self, WorkspaceDir, ActivePlatform, Target, Toolchain, ArchList, MetaFileDb, argument
246 self.WorkspaceDir = WorkspaceDir
264 os.chdir(self.WorkspaceDir)
712 PathClassObj = PathClass(FfsFile.InfFileName, self.WorkspaceDir)
1071 self.WorkspaceDir = Workspace.WorkspaceDir
1253 InfName = mws.join(self.WorkspaceDir, InfName)
1630 self._FdfFile= mws.join(self.WorkspaceDir, self.Workspace.FdfFile)
1649 self.WorkspaceDir,
2541 self.WorkspaceDir = Workspace.WorkspaceDir
2552 self.SourceDir = mws.relpath(self.SourceDir, self.WorkspaceDir)
[all …]

12