mirror of https://github.com/acidanthera/audk.git
BaseTools: Remove 'COMMON' in PCD SkuInfoList
'COMMON' is an alias of 'DEFAULT' for internal code, it should be removed before generating Pcd DataBase. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <liming.gao@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
parent
08ba82934e
commit
98eb136437
|
@ -1716,8 +1716,7 @@ class DscBuildData(PlatformBuildClassObject):
|
||||||
def CompletePcdValues(self,PcdSet):
|
def CompletePcdValues(self,PcdSet):
|
||||||
Pcds = {}
|
Pcds = {}
|
||||||
DefaultStoreObj = DefaultStore(self._GetDefaultStores())
|
DefaultStoreObj = DefaultStore(self._GetDefaultStores())
|
||||||
SkuIds = set([(skuid,skuobj.SkuId) for pcdobj in PcdSet.values() for skuid,skuobj in pcdobj.SkuInfoList.items()])
|
SkuIds = {skuname:skuid for skuname,skuid in self.SkuIdMgr.AvailableSkuIdSet.items() if skuname !='COMMON'}
|
||||||
SkuIds = self.SkuIdMgr.AvailableSkuIdSet
|
|
||||||
DefaultStores = set([storename for pcdobj in PcdSet.values() for skuobj in pcdobj.SkuInfoList.values() for storename in skuobj.DefaultStoreDict.keys()])
|
DefaultStores = set([storename for pcdobj in PcdSet.values() for skuobj in pcdobj.SkuInfoList.values() for storename in skuobj.DefaultStoreDict.keys()])
|
||||||
for PcdCName, TokenSpaceGuid in PcdSet:
|
for PcdCName, TokenSpaceGuid in PcdSet:
|
||||||
PcdObj = PcdSet[(PcdCName, TokenSpaceGuid)]
|
PcdObj = PcdSet[(PcdCName, TokenSpaceGuid)]
|
||||||
|
|
Loading…
Reference in New Issue