]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/GenFds/FdfParser.py
BaseTools: Update --pcd parser to support flexible pcd format
[mirror_edk2.git] / BaseTools / Source / Python / GenFds / FdfParser.py
index fc2b409847be5b24a5e774a055ae6214089d4f59..76d7e6ac1903493c5c73edde44b6b15a3c6f0fd3 100644 (file)
@@ -928,6 +928,7 @@ class FdfParser:
         if GlobalData.BuildOptionPcd:\r
             for Item in GlobalData.BuildOptionPcd:\r
                 PcdName, TmpValue = Item.split("=")\r
+                TmpValue = BuildOptionValue(TmpValue, {})\r
                 MacroDict[PcdName.strip()] = TmpValue\r
         # Highest priority\r
 \r