]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Scripts/ConvertFceToStructurePcd.py
BaseTools: Modify struct parser for StructPcd
[mirror_edk2.git] / BaseTools / Scripts / ConvertFceToStructurePcd.py
index 91361ea2b94dad1d270efa8502453576d2b48510..2052db8c4b69a51c514e7addb1c15853e47230d1 100644 (file)
@@ -197,6 +197,8 @@ class parser_lst(object):
     efitxt = efivarstore_format.findall(self.text)\r
     for i in efitxt:\r
       struct = struct_re.findall(i.replace(' ',''))\r
+      if struct[0] in self._ignore:\r
+          continue\r
       name = name_re.findall(i.replace(' ',''))\r
       if struct and name:\r
         efivarstore_dict[name[0]]=struct[0]\r