[flashrom] [patch] add version information similar to 'uname -mrs'

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Sun Dec 20 01:09:44 CET 2009


On 19.12.2009 23:34, Maciej Pijanka wrote:
> On Sat, 19 Dec 2009, Idwer Vollering wrote:
>
>   
>> Include detailed versioning information in the binary (--version).
>>
>> Signed-off-by: Idwer Vollering <vidwer at gmail.com>
>>     
>
>
> another small addon to be added after this patch which print
> libpci version used for compilation (info aquired from headers)
>
> Signed-off-by: Maciej Pijanka <maciej.pijanka at gmail.com>
>   

Thanks for your patch. Would you mind moving it to internal.c in
print_sysinfo() after Idwer reposts his patch which should create
print_sysinfo?

Oh, and it would be cool if you could wrap this differently:
#if NEED_PCI==1
#ifdef PCILIB_VERSION
printf(" compiled against libpci %s\n", PCILIB_VERSION);
#else
printf("compiled against unknown PCI library\n);
#endif
#endif

Regards,
Carl-Daniel

-- 
Developer quote of the month: 
"We are juggling too many chainsaws and flaming arrows and tigers."





More information about the flashrom mailing list