> On May 5, 2016, at 7:24 PM, Gao, Liming <liming....@intel.com> wrote: > > Andrew: > NAME GUID is module INF file GUID. It is used in Rule section in FDF file > like below. This is your usage case? > > [Rule.Common.DXE_CORE] > FILE DXE_CORE = $(NAMED_GUID) { > COMPRESS PI_STD { > PE32 PE32 $(INF_OUTPUT)/$(MODULE_NAME).efi > UI STRING="$(MODULE_NAME)" Optional > VERSION STRING="$(INF_VERSION)" Optional BUILD_NUM=$(BUILD_NUMBER) > } > } >
That is why I am confused as I'm not using a Rule, I'm just using a FILE statement. I was trying to do something like this, but use a GUID_CNAME. FILE APPLICATION = PCD(gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile) { SECTION PE32 = EdkShellBinPkg/MinimumShell/$(EDK_DXE_ARCHITECTURE)/Shell.efi } Thanks, Andrew Fish > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Andrew > Fish > Sent: Friday, May 6, 2016 10:03 AM > To: edk2-devel <edk2-devel@lists.01.org> > Subject: [edk2] BaseTools question about FDF FILE syntax > > I was trying to use a GUID CNAME with the FILE command and I got a failure. > Looking at the specification it defines the GUID as the well known macro > $(NAMED_GUID) . I'm not sure what the definition of $(NAMED_GUID) is when > there is no INF file involved? > > The spec defines the FILE, and SECTION syntax like: > FILE Type $(NAMED_GUID) [Options] FileName > SECTION GUIDED $(GUID_CNAME) [auth] FILENAME > > Thanks, > > Andrew Fish > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel