Liming,

On 07/02/14 09:05, Gao, Liming wrote:
> Laszlo:
>   ASLPP_FLAGS  is required to be updated. Please try it. 
> 
> [BuildOptions]
> GCC:*_*_*_ASLPP_FLAGS         == -x c -E -include AutoGen.h

I already did that in the "OvmfPkg/AcpiTables/AcpiTables.inf" file. It's
also visible in the build output:

>> Processing meta-data ..... done!
>> Generating code . done!
>> Generating makefile . done!
>> Building ... WS/OvmfPkg/AcpiTables/AcpiTables.inf [IA32] Trim 
>> --asl-file -o 
>> WS/Build/OvmfIa32/DEBUG_GCC48/IA32/OvmfPkg/AcpiTables/AcpiTables/OUTPU
>> T/./Ssdt.i -i 
>> WS/Build/OvmfIa32/DEBUG_GCC48/IA32/OvmfPkg/AcpiTables/AcpiTables/OUTPU
>> T/inc.lst WS/OvmfPkg/AcpiTables/Ssdt.asl "gcc" -x c -E -P -include

here (at the end of the line)

>> AutoGen.h -IWS/OvmfPkg/AcpiTables 

and here (see at the beginning of the line).

... Do you mean that I should not *append*

  -include AutoGen.h

to the preexistent flags (which include -P as well) with the single
equal sign ("="); rather I should *replace* the current flags

  -x c -E -P

with

  -x c -E -include AutoGen.h

using the double equal sign ("==")?

Ie. is your point to drop "-P"?

Thanks
Laszlo

>> -IWS/Build/OvmfIa32/DEBUG_GCC48/IA32/OvmfPkg/AcpiTables/AcpiTables/DEB
>> UG -IWS/MdePkg -IWS/MdePkg/Include -IWS/MdePkg/Include/Ia32 
>> -IWS/OvmfPkg -IWS/OvmfPkg/Include -IWS/OvmfPkg/AcpiTables 
>> WS/Build/OvmfIa32/DEBUG_GCC48/IA32/OvmfPkg/AcpiTables/AcpiTables/OUTPU
>> T/./Ssdt.i > 
>> WS/Build/OvmfIa32/DEBUG_GCC48/IA32/OvmfPkg/AcpiTables/AcpiTables/OUTPU
>> T/./Ssdt.iii Trim --source-code -l -o 
>> WS/Build/OvmfIa32/DEBUG_GCC48/IA32/OvmfPkg/AcpiTables/AcpiTables/OUTPU
>> T/./Ssdt.iiii 
>> WS/Build/OvmfIa32/DEBUG_GCC48/IA32/OvmfPkg/AcpiTables/AcpiTables/OUTPU
>> T/./Ssdt.iii "iasl"  
>> -pWS/Build/OvmfIa32/DEBUG_GCC48/IA32/OvmfPkg/AcpiTables/AcpiTables/OUT
>> PUT/./Ssdt.aml 
>> WS/Build/OvmfIa32/DEBUG_GCC48/IA32/OvmfPkg/AcpiTables/AcpiTables/OUTPU
>> T/./Ssdt.iiii Compiler aborting due to parser-detected syntax error(s)
>> WS/Build/OvmfIa32/DEBUG_GCC48/IA32/OvmfPkg/AcpiTables/AcpiTables/OUTPUT/./Ssdt.iiii
>>       1:
>>
>> Intel ACPI Component Architecture
>> Error    6126 - syntax error, unexpected PARSEOP_NAMESEG, expecting 
>> PARSEOP_DEFINITIONBLOCK and premature End-Of-File
>> ASL Optimizing Compiler version 20130823-64 [Jan 28 2014]
>>
>> Copyright (c) 2000 - 2013 Intel Corporation
>> make: *** 
>> [WS/Build/OvmfIa32/DEBUG_GCC48/IA32/OvmfPkg/AcpiTables/AcpiTables/OUTP
>> UT/Ssdt.aml] Error 255
>>
>> ASL Input:     
>> WS/Build/OvmfIa32/DEBUG_GCC48/IA32/OvmfPkg/AcpiTables/AcpiTables/OUTPUT/./Ssdt.iiii
>>  - 1 lines, 6 bytes, 0 keywords
>>
>> Compilation complete. 1 Errors, 0 Warnings, 0 Remarks, 0 Optimizations
>>
>>
>> build.py...
>>  : error 7000: Failed to execute command
>>         make all 
>> [WS/Build/OvmfIa32/DEBUG_GCC48/IA32/OvmfPkg/AcpiTables/AcpiTables]
>> Build report can be found at /home/lacos/tmp/build.report
>>
>> - Failed -
>> Build end time: 12:29:45, Jul.01 2014
>> Build total time: 00:00:06
> 
> I'm also attaching the generated files from the Build directory in question. 
> Note that "Ssdt.i" (the output of the first Trim command) is nowhere to find.
> 
> Thanks,
> Laszlo
> 
> 
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse Turn 
> processes into business applications with Bonita BPM Community Edition 
> Quickly connect people, data, and systems into organized workflows Winner of 
> BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft 
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
> 
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
> 


------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to