[coreboot] [PATCH] add debug information to v2 builds

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Thu Nov 27 21:23:21 CET 2008


On 27.11.2008 20:56, Patrick Georgi wrote:
> Am Donnerstag, den 27.11.2008, 20:38 +0100 schrieb Carl-Daniel
> Hailfinger:
>   
>> That's also one of the reasons why I didn't ack the complete patch. I do
>> coreboot development on my work machine which happens to be a laptop
>> with not enough hard disk space. I would have to delete some stuff to
>> run the new abuild.
>>     
> Of the 1.6GB, nearly 400mb are the .disasm files, so it splits up as:
> 700mb baseline
> 400mb disasm
> 500mb debug symbols in object files
>
> It would be trivial to comment out the disasm commands, so those files
> aren't created by default. (the new lines in src/config/Config.lb)
> It might also be reasonably simple to enable them with some option.
>   

Cool.

> As for the debug symbols, I don't know enough about the build system to
> say how complex it is to enable/disable those options "on demand". Given
> that they're necessary in each mainboard directory, that looks harder
> for me.
>   

In theory, each src/mainboard/FOO/Config.lb will be turned into a
makefile, so a makefile variable for the added parameters should work.


Regards,
Carl-Daniel

-- 
http://www.hailfinger.org/





More information about the coreboot mailing list