]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: Support COMPAT16 section generation
authorKonstantin Aladyshev <aladyshev22@gmail.com>
Tue, 30 Aug 2022 10:19:57 +0000 (18:19 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 19 Oct 2022 06:32:07 +0000 (06:32 +0000)
commit0a29933ea98747209f4682e5ad6b111260b805e9
tree39ee111c4c18e86dd5b64ef2498b954362ef581d
parent225810a18249de541840396c74d9a918c691aa9e
BaseTools: Support COMPAT16 section generation

Currently COMPAT16 section type is not recognized and GenSec is called
without the "-s [SectionType]" argument.
Add COMPAT16 type to the SectionType dictionary to fix the issue.

Now this syntax works correctly:
```
FILE FREEFORM = <GUID>  {
  SECTION COMPAT16 = <FILE>
}
```

Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
BaseTools/Source/Python/GenFds/Section.py