[Buildroot] Kconfig: "selects" vs. "depends on"

Samuel Martin s.martin49 at gmail.com
Sun Mar 4 10:11:58 UTC 2012


Hi,

2012/3/4 Ismael Luceno <ismael.luceno at gmail.com>:
> Which should I use?
Afaik, "depends on" is transitive, whereas "select" is not, see [1] as ref.
So, whenever one wants to ensure the dependencies will be enabled as
well, one should use "depends on", otherwise "select" is possible.

>
> Perhaps "selects" for for simple (i.e. non-configurable) dependencies,
> and "depends on" otherwise...?
Imho, it depends on the non-configurable symbol.
I mean if the non-configurable symbol depends on something else, then
i would prefer "depends on"

Perhaps, this is point could be added to the doc.


Regards,
Sam

[1] http://lxr.free-electrons.com/source/Documentation/kbuild/kconfig-language.txt


More information about the buildroot mailing list