Re: [patch] MTD: fix DOC2000/2001/2001PLUS build error



On Mon, 2007-02-05 at 17:26 +0100, Ingo Molnar wrote:
I come across this frequently -- and I just look at the Kconfig file
to see the dependencies of the option I want to enable. It's usually
very simple.

i come across this problem frequently, and sometimes it's far from
simple and involves half a dozen Kconfigs. For example pick up a Fedora
.config of your choice and disable CONFIG_I2C.

Erm, isn't that _my_ example? I'm willing to bet that it'll take me
hours to turn _off_ CONFIG_I2C because the widespread abuse of 'select'
helpfully turning it back on again for me because I have some video
stuff, or some thermal stuff, etc.

It's got a _lot_ harder recently to turn stuff _off_, as rmk observes.
You don't just look at the option you're interested in; you have to
grep all over the rest of the tree to find the 'select' which is
forcing it on after you turn it off. It's no longer in one place.

yeah.

I think that by blaming Aunt Tillie you might be missing the real
problem.

No, by arbitrarily throwing 'select' into the mix with no real
guidance as to when to use it and when to use normal dependencies,
_that's_ when we're missing the real problem.

we should not have 'select' at all - unless it's some non-code option
that is just a convenience switch for several other config options. A
true dependency is already expressed in one direction via the 'depend
on' directive - no need to express it in the other direction as well,
that only leads to redundancy and to bugs.

Right.

--
dwmw2

-
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/



Relevant Pages

  • Re: remove media player
    ... > Under Windows Media Player 9.0 technologies, Settings, there are check boxes ... Please checkout new SP2 Help system - it will show you component dependencies. ... >> components you don't want after a dep check and before a build. ... and I think it's a real problem with XPE. ...
    (microsoft.public.windowsxp.embedded)
  • Re: [PATCH 1/3] WAN Kconfig: change "depends on HDLC" to "select"
    ... The original dependency was certainly, uhm, not the best one. ... select seriously screws with the dependencies, it's especially problematic if the selected symbol has other dependencies as HDLC in this case, it makes it only more complicated to get the dependencies correct again. ... Please use it only if it solves a real problem. ...
    (Linux-Kernel)
  • RE: Alternative to Running Portupgrade -rf In Upgrade of expat2
    ... On 04-Feb-2006 Bob Perry wrote: ... portupgrade on the dependencies individually once identified? ... Disconnections are common and can be a real problem in ...
    (freebsd-questions)
  • Re: Best Way to Remove Gnome Audio & Video?
    ... The problem, as I see it, is that removing all audio and video from Gnome2 ... with YaST leaves lingering dependencies, ... used today, but leaving dangling dependencies, is a sure way to get rudely ... yast> System> System Services (Runlevel) ...
    (alt.os.linux.suse)