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 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; tiger...@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 > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#50231): https://edk2.groups.io/g/devel/message/50231 Mute This Topic: https://groups.io/mt/45221205/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-