git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@386 7335b...
authorhche10x <hche10x@7335b38e-4728-0410-8992-fb3ffe349368>
Tue, 24 Jul 2007 08:58:22 +0000 (08:58 +0000)
committerhche10x <hche10x@7335b38e-4728-0410-8992-fb3ffe349368>
Tue, 24 Jul 2007 08:58:22 +0000 (08:58 +0000)
Source/Python/Common/EdkIIWorkspaceBuild.py

index 397930e..c4fb5df 100644 (file)
@@ -228,6 +228,7 @@ class WorkspaceBuild(object):
             self.SupArchList = dscObj.Defines.DefinesDictionary[TAB_DSC_DEFINES_SUPPORTED_ARCHITECTURES]\r
             self.BuildTarget = dscObj.Defines.DefinesDictionary[TAB_DSC_DEFINES_BUILD_TARGETS]\r
             self.SkuId = dscObj.Defines.DefinesDictionary[TAB_DSC_DEFINES_SKUID_IDENTIFIER][0]\r
+            self.Fdf = dscObj.Defines.DefinesDictionary[TAB_DSC_DEFINES_FLASH_DEFINITION][0]\r
             \r
             #Get all inf\r
             for key in DataType.ARCH_LIST:\r
@@ -276,7 +277,6 @@ class WorkspaceBuild(object):
                 pb.FlashDefinition = NormPath(dscObj.Defines.DefinesDictionary[DataType.TAB_DSC_DEFINES_FLASH_DEFINITION][0])\r
                 pb.BuildNumber = dscObj.Defines.DefinesDictionary[DataType.TAB_DSC_DEFINES_BUILD_NUMBER][0]\r
                 pb.MakefileName = NormPath(dscObj.Defines.DefinesDictionary[DataType.TAB_DSC_DEFINES_MAKEFILE_NAME][0])\r
-                self.Fdf = pb.FlashDefinition\r
                 \r
                 #SkuId\r
                 for index in range(len(dscObj.Contents[key].SkuIds)):\r