mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
BaseTools: Fix the bug to display the single SKUID info
when defined SKUID_IDENTIFIER = DEFAULT|TEST in DSC [Defines] section, per spec it means current SKUID is single, the bug is build report print both DEFAULT and TEST info, it should only print TEST. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
parent
a87e79d9d6
commit
8aaa8f7bc0
@ -2239,6 +2239,10 @@ class SkuClass():
|
||||
GlobalData.gSkuids = (self.SkuIdSet)
|
||||
if 'COMMON' in GlobalData.gSkuids:
|
||||
GlobalData.gSkuids.remove('COMMON')
|
||||
if self.SkuUsageType == self.SINGLE:
|
||||
if len(GlobalData.gSkuids) != 1:
|
||||
if 'DEFAULT' in GlobalData.gSkuids:
|
||||
GlobalData.gSkuids.remove('DEFAULT')
|
||||
if GlobalData.gSkuids:
|
||||
GlobalData.gSkuids.sort()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user