diff mbox

[v2] kconfig: fix comment for symbol flag SYMBOL_AUTO

Message ID 20180703091049.7381-1-dirk@gouders.net (mailing list archive)
State New, archived
Headers show

Commit Message

Dirk Gouders July 3, 2018, 9:10 a.m. UTC
Over time, the use of the flag changed from initially marking three
automatically generated symbols ARCH, KERNELRELEASE and UNAME_RELEASE
to protecting symbols from being written out, today.

Currently, only symbols of type CHOICE and those with option
defconf_list set have that flag set so that they are not written out.

Document the current effect of that flag.

Signed-off-by: Dirk Gouders <dirk@gouders.net>
Cc: Sam Ravnborg <sam@ravnborg.org>
---
 scripts/kconfig/expr.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/scripts/kconfig/expr.h b/scripts/kconfig/expr.h
index f63b41b0dd49..08f5e223a9e3 100644
--- a/scripts/kconfig/expr.h
+++ b/scripts/kconfig/expr.h
@@ -141,7 +141,7 @@  struct symbol {
 #define SYMBOL_OPTIONAL   0x0100  /* choice is optional - values can be 'n' */
 #define SYMBOL_WRITE      0x0200  /* write symbol to file (KCONFIG_CONFIG) */
 #define SYMBOL_CHANGED    0x0400  /* ? */
-#define SYMBOL_AUTO       0x1000  /* value from environment variable */
+#define SYMBOL_AUTO       0x1000  /* Symbol for internal use only; it will not be written */
 #define SYMBOL_CHECKED    0x2000  /* used during dependency checking */
 #define SYMBOL_WARNED     0x8000  /* warning has been issued */