Laszlo: Yes. This patch fixes it. To let it work, you also need to configure GCC:*_*_*_ASLPP_FLAGS to include AutoGen.h in Platform DSC file.
The default GCC ASLPP Flags in tools_def.txt is the below, which has no '-include AutoGen.h'. But, PCD definition is generated in AutoGen.h. DEFINE GCC_ASLPP_FLAGS = -x c -E -P Another solution is to change GCC_ASLPP_FLAGS definition in tools_def.txt. It will impact every platform. To minimize its impact, this patch only updates build_rule.txt. Thanks Liming -----Original Message----- From: Laszlo Ersek [mailto:ler...@redhat.com] Sent: Wednesday, June 18, 2014 9:41 PM To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] Sync BaseTools Trunk (version r2669) to EDKII main trunk On 06/18/14 05:08, Gao, Liming wrote: > Hi, all > > I will sync BaseTool trunk (version r2669) into EDKII BaseTools. The > version used by EDK2 is 2649. The changes include: > > 1. Fix GCC build rules for ASL sources that contain PCD. What does this cover in more detail? For example, in "OvmfPkg/AcpiTables/Dsdt.asl", we have IO (Decode16, 0x402, 0x402, 0x00, 0x01) // QEMU debug console, should use FixedPcdGet16 (PcdDebugIoPort) Does the change mean that we can replace 0x402 with FixedPcdGet16 (PcdDebugIoPort)? > > 2. Enhanced VfrCompiler. > > 3. Some fix in BaseTools. > > > > BaseTool Trunk: > > https://svn.code.sf.net/p/edk2-buildtools/code/trunk/BaseTools > > EDKII BaseTools: > > https://svn.code.sf.net/p/edk2/code/trunk/edk2/BaseTools > > > > If you have any comments, please let me know. > > > > Besides, Jordan proposes to merge those two BaseTools. After it is > done, such sync will not be required. Probably a good idea. Thanks, Laszlo ------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel ------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel