|
From: <js...@us...> - 2012-06-28 08:46:00
|
Revision: 2542
http://edk2-buildtools.svn.sourceforge.net/edk2-buildtools/?rev=2542&view=rev
Author: jsu1
Date: 2012-06-28 08:45:49 +0000 (Thu, 28 Jun 2012)
Log Message:
-----------
Fix the pcd value in FDF lost issue.
Reviewed-by: Zeng, Yurui <yur...@in...>
Signed-off-by: Su jikui <jik...@in...>
Modified Paths:
--------------
trunk/BaseTools/Source/Python/AutoGen/AutoGen.py
Modified: trunk/BaseTools/Source/Python/AutoGen/AutoGen.py
===================================================================
--- trunk/BaseTools/Source/Python/AutoGen/AutoGen.py 2012-06-28 08:44:41 UTC (rev 2541)
+++ trunk/BaseTools/Source/Python/AutoGen/AutoGen.py 2012-06-28 08:45:49 UTC (rev 2542)
@@ -317,6 +317,7 @@
if (Name, Guid, TAB_PCDS_FIXED_AT_BUILD) in DecPcdsKey \
or (Name, Guid, TAB_PCDS_PATCHABLE_IN_MODULE) in DecPcdsKey \
or (Name, Guid, TAB_PCDS_FEATURE_FLAG) in DecPcdsKey:
+ Platform.AddPcd(Name, Guid, PcdSet[Name, Guid])
continue
elif (Name, Guid, TAB_PCDS_DYNAMIC) in DecPcdsKey or (Name, Guid, TAB_PCDS_DYNAMIC_EX) in DecPcdsKey:
EdkLogger.error(
@@ -326,7 +327,6 @@
File = self.FdfProfile.PcdFileLineDict[Name, Guid][0],
Line = self.FdfProfile.PcdFileLineDict[Name, Guid][1]
)
- Platform.AddPcd(Name, Guid, PcdSet[Name, Guid])
Pa = PlatformAutoGen(self, self.MetaFile, Target, Toolchain, Arch)
#
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|