- select'ing visible symbols alone does not cause illegal configurations - whether select should be used can best be judged on a case-by-case basis, the warning about the general problem of breaking dependencies is enough - recommend to ask on linux-kbuild@xxxxxxxxxxxxxxx for advice when in doubt Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx> --- diff --git a/Documentation/kbuild/kconfig-language.txt b/Documentation/kbuild/kconfig-language.txt index c412c24..d1c5bb2 100644 --- a/Documentation/kbuild/kconfig-language.txt +++ b/Documentation/kbuild/kconfig-language.txt @@ -108,11 +108,10 @@ applicable everywhere (see syntax). a symbol to a value without visiting the dependencies. By abusing select you are able to select a symbol FOO even if FOO depends on BAR that is not set. - In general use select only for non-visible symbols - (no prompts anywhere) and for symbols with no dependencies. - That will limit the usefulness but on the other hand avoid - the illegal configurations all over. - kconfig should one day warn about such things. + usages of select are only safe for symbols with no + dependencies, otherwise special care is required. + + if in doubt, ask on linux-kbuild@xxxxxxxxxxxxxxx for advice - numerical ranges: "range" <symbol> <symbol> ["if" <expr>] This allows to limit the range of possible input values for int -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html