Re: 回复: [edk2-discuss] 回复: Non-reproducible binaries generated by GenFw


Laszlo Ersek
 

On 03/17/21 03:47, gaoliming wrote:
Yes. Just RELEASE_*_*_GENFW_FLAGS = --zero

The format is defined in DSC spec. = means append, == means replacement.
And the EDK2 specifications can be found here:

https://github.com/tianocore/tianocore.github.io/wiki/EDK-II-Documentation#specifications

Thanks!
Laszlo


Thanks
Liming
-----邮件原件-----
发件人: Ross Burton <ross@burtonini.com>
发送时间: 2021年3月17日 0:27
收件人: Laszlo Ersek <lersek@redhat.com>
抄送: discuss@edk2.groups.io; gaoliming <gaoliming@byosoft.com.cn>;
bob.c.feng@intel.com; yuwei.chen@intel.com
主题: Re: [edk2-discuss] 回复: Non-reproducible binaries generated by
GenFw

On Tue, 16 Mar 2021 at 16:15, Laszlo Ersek <lersek@redhat.com> wrote:
But: if you post such a patch for OVMF (modifying *all* DSC files in
OvmfPkg), then I'll review & merge it.
Is there any documentation for the dsc format? Specifically if a dsc
already has:

!if $(SOURCE_DEBUG_ENABLE) == TRUE
INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
!endif

Can I just do:
RELEASE_*_*_GENFW_FLAGS = --zero

Or do I need to use += or something else?

Ross

Join discuss@edk2.groups.io to automatically receive all group messages.