* displaying kbuild dependancies ...
@ 2004-09-11 20:25 Herbert Poetzl
2004-09-11 21:39 ` Sam Ravnborg
0 siblings, 1 reply; 5+ messages in thread
From: Herbert Poetzl @ 2004-09-11 20:25 UTC (permalink / raw)
To: Sam Ravnborg; +Cc: linux-kernel
Hi Sam!
first, thanks for the kbuild stuff and all the
time spent on that ... I really love it
from time to time I encounter some issue which
usually keeps me busy for a while, and I think
there probably is a simpler solution to that ...
the procedure:
I'm configuring a 2.6.X-rcY-bkZ kernel for testing
with QEMU, which in my setup basically requires
some QEMU specific settings, I usually turn on/off
by just editing the .config file by hand, and then
invoking 'make oldconfig' ...
to keep the possibility for error low, I usually
just remove the entries in question, and oldconfig
will ask me the relevant question, leading to a
nice config adapted to my purposes ...
the issue:
sometimes a dependancy doesn't allow me to remove
a config option, I absolutely have to remove for
my setup, like the VGA_CONSOLE, and then the hunt
for the option 'requiring' that one unconditinally
beginns ...
usually I start with grep and end with trial and
error, until I find the malicious dependancy ...
so, now the question:
is there a magic option, simple procedure, or just
quick and dirty hack to get a list or some kind
of dependancy graph from the kbuild system?
TIA,
Herbert
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: displaying kbuild dependancies ...
2004-09-11 20:25 displaying kbuild dependancies Herbert Poetzl
@ 2004-09-11 21:39 ` Sam Ravnborg
2004-09-12 21:30 ` Herbert Poetzl
0 siblings, 1 reply; 5+ messages in thread
From: Sam Ravnborg @ 2004-09-11 21:39 UTC (permalink / raw)
To: Sam Ravnborg, linux-kernel
On Sat, Sep 11, 2004 at 10:25:48PM +0200, Herbert Poetzl wrote:
>
> Hi Sam!
>
> first, thanks for the kbuild stuff and all the
> time spent on that ... I really love it
>
>
> from time to time I encounter some issue which
> usually keeps me busy for a while, and I think
> there probably is a simpler solution to that ...
>
> the procedure:
>
> I'm configuring a 2.6.X-rcY-bkZ kernel for testing
> with QEMU, which in my setup basically requires
> some QEMU specific settings, I usually turn on/off
> by just editing the .config file by hand, and then
> invoking 'make oldconfig' ...
>
> to keep the possibility for error low, I usually
> just remove the entries in question, and oldconfig
> will ask me the relevant question, leading to a
> nice config adapted to my purposes ...
>
> the issue:
>
> sometimes a dependancy doesn't allow me to remove
> a config option, I absolutely have to remove for
> my setup, like the VGA_CONSOLE, and then the hunt
> for the option 'requiring' that one unconditinally
> beginns ...
>
> usually I start with grep and end with trial and
> error, until I find the malicious dependancy ...
The only option today is to turn on the debug option
in 'make xconfig'.
I have been looking inot something better for menuconfig
but frankly kconfig is not where I feel most comfortable.
Sam
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: displaying kbuild dependancies ...
2004-09-11 21:39 ` Sam Ravnborg
@ 2004-09-12 21:30 ` Herbert Poetzl
2004-09-14 15:28 ` Randy.Dunlap
0 siblings, 1 reply; 5+ messages in thread
From: Herbert Poetzl @ 2004-09-12 21:30 UTC (permalink / raw)
To: Sam Ravnborg, linux-kernel
On Sat, Sep 11, 2004 at 11:39:31PM +0200, Sam Ravnborg wrote:
> On Sat, Sep 11, 2004 at 10:25:48PM +0200, Herbert Poetzl wrote:
> >
> > Hi Sam!
> >
> > first, thanks for the kbuild stuff and all the
> > time spent on that ... I really love it
> >
> >
> > from time to time I encounter some issue which
> > usually keeps me busy for a while, and I think
> > there probably is a simpler solution to that ...
> >
> > the procedure:
> >
> > I'm configuring a 2.6.X-rcY-bkZ kernel for testing
> > with QEMU, which in my setup basically requires
> > some QEMU specific settings, I usually turn on/off
> > by just editing the .config file by hand, and then
> > invoking 'make oldconfig' ...
> >
> > to keep the possibility for error low, I usually
> > just remove the entries in question, and oldconfig
> > will ask me the relevant question, leading to a
> > nice config adapted to my purposes ...
> >
> > the issue:
> >
> > sometimes a dependancy doesn't allow me to remove
> > a config option, I absolutely have to remove for
> > my setup, like the VGA_CONSOLE, and then the hunt
> > for the option 'requiring' that one unconditinally
> > beginns ...
> >
> > usually I start with grep and end with trial and
> > error, until I find the malicious dependancy ...
>
> The only option today is to turn on the debug option
> in 'make xconfig'.
hmm, so no luck for the typical console user :(
> I have been looking inot something better for menuconfig
> but frankly kconfig is not where I feel most comfortable.
it would be sufficient to be able to turn on some
debug output, which says 'foo selected from bla'
or 'foo disabled, requires bla and whatnot' ...
anyway, thanks for the feedback,
Herbert
> Sam
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: displaying kbuild dependancies ...
2004-09-12 21:30 ` Herbert Poetzl
@ 2004-09-14 15:28 ` Randy.Dunlap
2004-09-14 15:37 ` Herbert Poetzl
0 siblings, 1 reply; 5+ messages in thread
From: Randy.Dunlap @ 2004-09-14 15:28 UTC (permalink / raw)
To: Herbert Poetzl; +Cc: sam, linux-kernel
On Sun, 12 Sep 2004 23:30:34 +0200 Herbert Poetzl wrote:
| On Sat, Sep 11, 2004 at 11:39:31PM +0200, Sam Ravnborg wrote:
| > On Sat, Sep 11, 2004 at 10:25:48PM +0200, Herbert Poetzl wrote:
| > >
| > > Hi Sam!
| > >
| > > first, thanks for the kbuild stuff and all the
| > > time spent on that ... I really love it
| > >
| > >
| > > from time to time I encounter some issue which
| > > usually keeps me busy for a while, and I think
| > > there probably is a simpler solution to that ...
| > >
| > > the procedure:
| > >
| > > I'm configuring a 2.6.X-rcY-bkZ kernel for testing
| > > with QEMU, which in my setup basically requires
| > > some QEMU specific settings, I usually turn on/off
| > > by just editing the .config file by hand, and then
| > > invoking 'make oldconfig' ...
| > >
| > > to keep the possibility for error low, I usually
| > > just remove the entries in question, and oldconfig
| > > will ask me the relevant question, leading to a
| > > nice config adapted to my purposes ...
| > >
| > > the issue:
| > >
| > > sometimes a dependancy doesn't allow me to remove
| > > a config option, I absolutely have to remove for
| > > my setup, like the VGA_CONSOLE, and then the hunt
| > > for the option 'requiring' that one unconditinally
| > > beginns ...
| > >
| > > usually I start with grep and end with trial and
| > > error, until I find the malicious dependancy ...
| >
| > The only option today is to turn on the debug option
| > in 'make xconfig'.
|
| hmm, so no luck for the typical console user :(
|
| > I have been looking inot something better for menuconfig
| > but frankly kconfig is not where I feel most comfortable.
|
| it would be sufficient to be able to turn on some
| debug output, which says 'foo selected from bla'
| or 'foo disabled, requires bla and whatnot' ...
There are some menuconfig patches in -mm (from Yuval Turgeman)
that add a search option (using '/') to menuconfig.
E.g., enter / + USB_STORAGE and you can see everywhere
that USB_STORAGE is used.... and that it SELECTs SCSI.
To see only the USB_STORAGE kconfig entry, use a regex:
^USB_STORAGE$
IIRC, Yuval is considering how to enhance this feature.
--
~Randy
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: displaying kbuild dependancies ...
2004-09-14 15:28 ` Randy.Dunlap
@ 2004-09-14 15:37 ` Herbert Poetzl
0 siblings, 0 replies; 5+ messages in thread
From: Herbert Poetzl @ 2004-09-14 15:37 UTC (permalink / raw)
To: Randy.Dunlap; +Cc: sam, linux-kernel
On Tue, Sep 14, 2004 at 08:28:41AM -0700, Randy.Dunlap wrote:
> On Sun, 12 Sep 2004 23:30:34 +0200 Herbert Poetzl wrote:
>
> | On Sat, Sep 11, 2004 at 11:39:31PM +0200, Sam Ravnborg wrote:
> | > On Sat, Sep 11, 2004 at 10:25:48PM +0200, Herbert Poetzl wrote:
> | > >
> | > > Hi Sam!
> | > >
> | > > first, thanks for the kbuild stuff and all the
> | > > time spent on that ... I really love it
> | > >
> | > >
> | > > from time to time I encounter some issue which
> | > > usually keeps me busy for a while, and I think
> | > > there probably is a simpler solution to that ...
> | > >
> | > > the procedure:
> | > >
> | > > I'm configuring a 2.6.X-rcY-bkZ kernel for testing
> | > > with QEMU, which in my setup basically requires
> | > > some QEMU specific settings, I usually turn on/off
> | > > by just editing the .config file by hand, and then
> | > > invoking 'make oldconfig' ...
> | > >
> | > > to keep the possibility for error low, I usually
> | > > just remove the entries in question, and oldconfig
> | > > will ask me the relevant question, leading to a
> | > > nice config adapted to my purposes ...
> | > >
> | > > the issue:
> | > >
> | > > sometimes a dependancy doesn't allow me to remove
> | > > a config option, I absolutely have to remove for
> | > > my setup, like the VGA_CONSOLE, and then the hunt
> | > > for the option 'requiring' that one unconditinally
> | > > beginns ...
> | > >
> | > > usually I start with grep and end with trial and
> | > > error, until I find the malicious dependancy ...
> | >
> | > The only option today is to turn on the debug option
> | > in 'make xconfig'.
> |
> | hmm, so no luck for the typical console user :(
> |
> | > I have been looking inot something better for menuconfig
> | > but frankly kconfig is not where I feel most comfortable.
> |
> | it would be sufficient to be able to turn on some
> | debug output, which says 'foo selected from bla'
> | or 'foo disabled, requires bla and whatnot' ...
>
> There are some menuconfig patches in -mm (from Yuval Turgeman)
> that add a search option (using '/') to menuconfig.
> E.g., enter / + USB_STORAGE and you can see everywhere
> that USB_STORAGE is used.... and that it SELECTs SCSI.
> To see only the USB_STORAGE kconfig entry, use a regex:
> ^USB_STORAGE$
sounds great!
will investigate this ...
> IIRC, Yuval is considering how to enhance this feature.
thanks for the info,
Herbert
> --
> ~Randy
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-09-14 15:43 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-11 20:25 displaying kbuild dependancies Herbert Poetzl
2004-09-11 21:39 ` Sam Ravnborg
2004-09-12 21:30 ` Herbert Poetzl
2004-09-14 15:28 ` Randy.Dunlap
2004-09-14 15:37 ` Herbert Poetzl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®