public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] [edk2] DSC file : override FILE_GUID rule
@ 2019-11-07  4:51 Tiger Liu(BJ-RD)
  2019-11-07 10:56 ` Laszlo Ersek
  0 siblings, 1 reply; 6+ messages in thread
From: Tiger Liu(BJ-RD) @ 2019-11-07  4:51 UTC (permalink / raw)
  To: devel@edk2.groups.io

Dear All:
I have a question about FILE_GUID override rule in dsc file.
For example:
  ......
  UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
    <Defines>
      FILE_GUID = D1D74FE9-7A4E-41D3-A0B3-67F13AD34D94
    ......
  }

Usually, will define FILE_GUID in PiSmmCpuDxeSmm.inf .

Why override it in dsc file?

Thanks


保密声明:
本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做任何未经授权的查阅、使用、复制或转发。
CONFIDENTIAL NOTE:
This email contains confidential or legally privileged information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or forwarding of this email or the content of this email is strictly prohibited.

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: [edk2-devel] [edk2] DSC file : override FILE_GUID rule
@ 2019-11-08  2:51 Tiger Liu(BJ-RD)
  0 siblings, 0 replies; 6+ messages in thread
From: Tiger Liu(BJ-RD) @ 2019-11-08  2:51 UTC (permalink / raw)
  To: Gao, Liming, Laszlo Ersek, devel@edk2.groups.io

Hi, Laszlo:
Got it.

Thanks

Best wishes,
-----邮件原件-----
发件人: Gao, Liming <liming.gao@intel.com>
发送时间: 2019年11月7日 23:16
收件人: Laszlo Ersek <lersek@redhat.com>; devel@edk2.groups.io; Tiger Liu(BJ-RD) <TigerLiu@zhaoxin.com>
主题: RE: [edk2-devel] [edk2] DSC file : override FILE_GUID rule

BaseTools can handle the space between them.

Thanks
Liming
> -----Original Message-----
> From: Laszlo Ersek <lersek@redhat.com>
> Sent: Thursday, November 7, 2019 11:12 PM
> To: Gao, Liming <liming.gao@intel.com>; devel@edk2.groups.io;
> tigerliu@zhaoxin.com
> Subject: Re: [edk2-devel] [edk2] DSC file : override FILE_GUID rule
>
> On 11/07/19 15:59, Gao, Liming wrote:
> > In FDF, you also need to specify this file guid and match the one in DSC. The syntax is like below:
> >
> > INF FILE_GUID= D1D74FE9-7A4E-41D3-A0B3-67F13AD34D94
> > UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
>
> Thanks! (I assume there is no space character right after
> "FILE_GUID=".)
>
> Cheers
> Laszlo
>
> > Thanks
> > Liming
> >> -----Original Message-----
> >> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of
> >> Laszlo Ersek
> >> Sent: Thursday, November 7, 2019 6:56 PM
> >> To: devel@edk2.groups.io; tigerliu@zhaoxin.com
> >> Subject: Re: [edk2-devel] [edk2] DSC file : override FILE_GUID rule
> >>
> >> On 11/07/19 05:51, Tiger Liu(BJ-RD) wrote:
> >>> Dear All:
> >>> I have a question about FILE_GUID override rule in dsc file.
> >>> For example:
> >>>   ......
> >>>   UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf {
> >>>     <Defines>
> >>>       FILE_GUID = D1D74FE9-7A4E-41D3-A0B3-67F13AD34D94
> >>>     ......
> >>>   }
> >>>
> >>> Usually, will define FILE_GUID in PiSmmCpuDxeSmm.inf .
> >>>
> >>> Why override it in dsc file?
> >>
> >> IIRC, such overrides allow the platform DSC file to build the same
> >> module multiple times, most likely with other overrides too (such
> >> as PCD and lib class resolution). The resultant binaries will not
> >> conflict in any firmware volume / firmware file-system, by FILE_GUID.
> >>
> >> I don't remember the syntax, to be used in the FDF file, for
> >> refering to all of the builds of the same module INF file.
> >>
> >> Thanks
> >> Laszlo
> >>
> >>
> >> 
> >



保密声明:
本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做任何未经授权的查阅、使用、复制或转发。
CONFIDENTIAL NOTE:
This email contains confidential or legally privileged information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or forwarding of this email or the content of this email is strictly prohibited.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-11-08  2:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-07  4:51 [edk2-devel] [edk2] DSC file : override FILE_GUID rule Tiger Liu(BJ-RD)
2019-11-07 10:56 ` Laszlo Ersek
2019-11-07 14:59   ` Liming Gao
2019-11-07 15:12     ` Laszlo Ersek
2019-11-07 15:16       ` Liming Gao
  -- strict thread matches above, loose matches on Subject: below --
2019-11-08  2:51 Tiger Liu(BJ-RD)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox