Re: Re: Tool to match kernel C file to CONFIG symbol

2014-10-30 Thread Andreas Ruprecht
Hi all, actually the problem isn't that easy... some of the information from the Kbuild files is not entirely straight-forward to extract. If you're interested in the former (that is, what config symbols have to be enabled to have a file compiled), there is a Python tool called "golem" in the too

Re: Tool to match kernel C file to CONFIG symbol

2014-10-30 Thread Peter Senna Tschudin
I have a dirty and ugly Perl script that return source files for a given set of Kconfig symbols: https://gist.github.com/petersenna/6329591 On Thu, Oct 30, 2014 at 7:16 AM, Julia Lawall wrote: > > > On Wed, 29 Oct 2014, Luis R. Rodriguez wrote: > >> On Wed, Oct 29, 2014 at 4:15 PM, Luis R. Rodri

Re: Tool to match kernel C file to CONFIG symbol

2014-10-29 Thread Julia Lawall
On Wed, 29 Oct 2014, Luis R. Rodriguez wrote: > On Wed, Oct 29, 2014 at 4:15 PM, Luis R. Rodriguez > wrote: > > Anyone familiar with a tool to match a specific C file to a respective > > CONFIG symbol on the kernel? I'd prefer if its written in C or Python. > > This should be easy to write if w

Re: Tool to match kernel C file to CONFIG symbol

2014-10-29 Thread Luis R. Rodriguez
On Wed, Oct 29, 2014 at 4:15 PM, Luis R. Rodriguez wrote: > Anyone familiar with a tool to match a specific C file to a respective > CONFIG symbol on the kernel? I'd prefer if its written in C or Python. > This should be easy to write if we don't have it yet. Peter, didn't you have such tool alre

Tool to match kernel C file to CONFIG symbol

2014-10-29 Thread Luis R. Rodriguez
Anyone familiar with a tool to match a specific C file to a respective CONFIG symbol on the kernel? I'd prefer if its written in C or Python. This should be easy to write if we don't have it yet. Luis -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a mess