In trying to build a PEI from binaries, we tried the following: [Defines] INF_VERSION = 0x00010016 BASE_NAME = CommonPolicyPei FILE_GUID = 4CD976FF-A41B-43d4-A3A7-D67872066F76 MODULE_TYPE = PEIM VERSION_STRING = 1.0
[Packages] [Binaries.IA32] PE32|Vlv2DeviceRefCodeBinPkg/Ia32/CommonPolicyPei.efi PEI_DEPEX|Vlv2DeviceRefCodeBinPkg/Ia32/CommonPolicyPei.depex Notice that the PEI DEPEX is specified via binary, not the [Depex] section. In fact, if you can't do this, it seems like that supporting the PEI_DEPEX binary type is not useful. Here is the section of the .INF spec that is causing issues: [cid:image001.png@01CFB6E1.6DE0CE60] I would suggest that this wording be changed to "Module types PEIM, DXE_DRIVER, DXE_RUNTIME_DRIVER, DXE_SAL_DRIVER and DXE_SMM_DRIVER require a [Depex] section unless the dependencies are specified by a PEI_DEPEX or DXE_DEPEX in the [Binaries] section." Tim
------------------------------------------------------------------------------
_______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel