From d0acc87a41d9aa25fe87eb096efa62afacd1f865 Mon Sep 17 00:00:00 2001 From: lgao4 Date: Wed, 7 Dec 2011 06:19:28 +0000 Subject: Sync BaseTool trunk (version r2460) into EDKII BaseTools. The change mainly includes: 1. Support use expression as DSC file PCD value. 2. Update FDF parser to fix bug to get complete macro value. 3. Fix bug to replace SET statement macro and evaluate SET statement PCD value in FDF file. 4. Fix a bug for MACRO defined in conditional block cannot be processed correctly Signed-off-by: lgao4 Reviewed-by: gikidy git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12827 6f19259b-4bc3-4df7-8a09-765794883524 --- BaseTools/Source/Python/UPT/Core/DependencyRules.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'BaseTools/Source/Python/UPT/Core/DependencyRules.py') diff --git a/BaseTools/Source/Python/UPT/Core/DependencyRules.py b/BaseTools/Source/Python/UPT/Core/DependencyRules.py index ac656bb02a..752d8e8f41 100644 --- a/BaseTools/Source/Python/UPT/Core/DependencyRules.py +++ b/BaseTools/Source/Python/UPT/Core/DependencyRules.py @@ -55,12 +55,12 @@ class DependencyRules(object): # @param Guid: Guid of a module # @param Version: Version of a module # - def CheckModuleExists(self, Guid, Version, ReturnCode=DEPEX_CHECK_SUCCESS): + def CheckModuleExists(self, Guid, Version, Name, Path, ReturnCode=DEPEX_CHECK_SUCCESS): if ReturnCode: pass Logger.Verbose(ST.MSG_CHECK_MODULE_EXIST) - ModuleList = self.IpiDb.GetModInPackage(Guid, Version) - ModuleList.extend(self.IpiDb.GetStandaloneModule(Guid, Version)) + ModuleList = self.IpiDb.GetModInPackage(Guid, Version, Name, Path) + ModuleList.extend(self.IpiDb.GetStandaloneModule(Guid, Version, Name, Path)) Logger.Verbose(ST.MSG_CHECK_MODULE_EXIST_FINISH) if len(ModuleList) > 0: return True -- cgit v1.2.3