mirror of
https://github.com/utmapp/edk2.git
synced 2026-12-01 14:00:40 -10:00
BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=2400 In Dsc Parser, included dsc file is parsed always no matter if its condition is False gUefiOvmfPkgTokenSpaceGuid.test1|FALSE !if gUefiOvmfPkgTokenSpaceGuid.test1 == FALSE !include OvmfPkg/test1.dsc !else !include OvmfPkg/test2.dsc !endif The patch avoids processing redundant dsc files and improves the way Tool handles them. In the above case, since the conditional result is FALSE, "test2.dsc" is not parsed. Signed-off-by: Zhiju.Fan <[email protected]> Cc: Liming Gao <[email protected]> Cc: Bob Feng <[email protected]> Reviewed-by: Bob Feng <[email protected]>