Thread (25 messages) flat view 25 messages, 6 authors, 2016-10-21

Re: [PATCH 1/4] kconfig: introduce the "imply" keyword

From: Masahiro Yamada <hidden>
Date: 2016-10-20 06:53:49
Also in: linux-kbuild, lkml

2016-10-20 8:42 GMT+09:00 Nicolas Pitre [off-list ref]:
quoted hunk ↗ jump to hunk
diff --git a/Documentation/kbuild/kconfig-language.txt b/Documentation/kbuild/kconfig-language.txt
index 069fcb3eef..c96127f648 100644
--- a/Documentation/kbuild/kconfig-language.txt
+++ b/Documentation/kbuild/kconfig-language.txt
@@ -113,6 +113,33 @@ applicable everywhere (see syntax).
        That will limit the usefulness but on the other hand avoid
        the illegal configurations all over.

+- weak reverse dependencies: "imply" <symbol> ["if" <expr>]
+  This is similar to "select" as it enforces a lower limit on another
+  symbol except that the "implied" config symbol's value may still be
+  set to n from a direct dependency or with a visible prompt.
+  Given the following example:
+
+  config FOO
+       tristate
+       imply BAZ
+
+  config BAZ
+       tristate
+       depends on BAr

s/BAr/BAR/  ?





-- 
Best Regards
Masahiro Yamada
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help