git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@400 7335b...
authorjjin9 <jjin9@7335b38e-4728-0410-8992-fb3ffe349368>
Wed, 25 Jul 2007 10:17:53 +0000 (10:17 +0000)
committerjjin9 <jjin9@7335b38e-4728-0410-8992-fb3ffe349368>
Wed, 25 Jul 2007 10:17:53 +0000 (10:17 +0000)
Source/Python/AutoGen/AutoGen.py

index dfe3730..2eae9a2 100644 (file)
@@ -242,14 +242,14 @@ class AutoGen(object):
 
         info = PlatformBuildInfo(platform)
 
-        ruleFile = gWorkspace.Workspace.WorkspaceFile(r'Conf\build_rule.txt')
+        ruleFile = gWorkspace.WorkspaceFile(r'Conf\build_rule.txt')
         info.BuildRule = imp.load_source("BuildRule", ruleFile)
 
         info.Arch = arch
         info.ToolChain = self.ToolChain
         info.BuildTarget = self.BuildTarget
 
-        info.WorkspaceDir = gWorkspace.Workspace.WorkspaceDir
+        info.WorkspaceDir = gWorkspace.WorkspaceDir
         info.SourceDir = path.dirname(platform.DescFilePath)
         info.OutputDir = platform.OutputDirectory
         info.BuildDir = path.join(info.OutputDir, self.BuildTarget + "_" + self.ToolChain)