[SeaBIOS] [PATCH] Reformat .lst in case it is generated by new iasl.

Bo Yang boyang at suse.com
Sat Jan 26 04:15:55 CET 2013


On 01/26/2013 12:49 AM, Kevin O'Connor wrote:
> On Thu, Jan 24, 2013 at 09:49:06PM +0800, Bo Yang wrote:
>> New iasl generate .lst as 'number:  ' instead of 'number....', then
>> acpi_extrace.py fails to extract any useful information, building
>> fails.
> 
> Thanks.  However, I don't think we should introduce a dependency on
> sed to the build.  If the acpi_extract python script isn't parsing
> correctly it should be fixed instead of introducing another build
> component.

Yes. We can fix it in acpi_extract.py. The question is how to do it.

Reformat .lst with python instead of sed?

OR

add some if directive in python like this:
if (iasl version > xxxx) {
   parse .lst in format "number:  "
} else {
   parse .lst in format "number...."
}

which way to go?

> 
> -Kevin
> 




More information about the SeaBIOS mailing list