displaying kbuild dependancies ...

From: Herbert Poetzl
Date: Sat Sep 11 2004 - 15:27:51 EST



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


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/