|
From: <gi...@us...> - 2010-09-03 02:04:33
|
Revision: 2038
http://edk2-buildtools.svn.sourceforge.net/edk2-buildtools/?rev=2038&view=rev
Author: gikidy
Date: 2010-09-03 02:04:27 +0000 (Fri, 03 Sep 2010)
Log Message:
-----------
For support sub-type of DynamicEx. Such as define [PcdEx] in INF and [PcdDynamicExVpd] in DSC.
Modified Paths:
--------------
trunk/BaseTools/Source/Python/AutoGen/AutoGen.py
Modified: trunk/BaseTools/Source/Python/AutoGen/AutoGen.py
===================================================================
--- trunk/BaseTools/Source/Python/AutoGen/AutoGen.py 2010-09-02 08:16:46 UTC (rev 2037)
+++ trunk/BaseTools/Source/Python/AutoGen/AutoGen.py 2010-09-03 02:04:27 UTC (rev 2038)
@@ -1074,6 +1074,10 @@
if FromPcd != None:
if ToPcd.Pending and FromPcd.Type not in [None, '']:
ToPcd.Type = FromPcd.Type
+ elif (ToPcd.Type not in [None, '']) and (FromPcd.Type not in [None, ''])\
+ and (ToPcd.Type != FromPcd.Type) and (ToPcd.Type in FromPcd.Type):
+ if ToPcd.Type.strip() == "DynamicEx":
+ ToPcd.Type = FromPcd.Type
elif ToPcd.Type not in [None, ''] and FromPcd.Type not in [None, ''] \
and ToPcd.Type != FromPcd.Type:
EdkLogger.error("build", OPTION_CONFLICT, "Mismatched PCD type",
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|