Skip to contentSkip to conversation

kconfig: document oldnoconfig to what it really does in conf.c

PATCH New Adam Lee 1 participant 1 message Aug 17, 2012

Subsystems (2)
lore
Share & tools
lore

Adam Lee

author
#0 lore raw

PATCH 1/1 kconfig: document oldnoconfig to what it really does in conf.c

As 67d34a6a391369269a2e5dba8a5f42cc4cd50231 said, the make target 'oldnoconfig' is a misnomer. It doesn't set new symbols to 'n', but instead sets it to their default values.

This patch fixes the document in conf.c, and will submit another patch to replace 'oldnoconfig' to 'olddefconfig'

---
 scripts/kconfig/conf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/kconfig/conf.c +1 -1
index 0dc4a2c..6875680 100644
@@ -467,7 +467,7 @@ static void conf_usage(const char *progname)
 	printf("  --oldaskconfig          Start a new configuration using a line-oriented program\n");
 	printf("  --oldconfig             Update a configuration using a provided .config as base\n");
 	printf("  --silentoldconfig       Same as oldconfig, but quietly, additionally update deps\n");
-	printf("  --oldnoconfig           Same as silentoldconfig but set new symbols to no\n");
+	printf("  --oldnoconfig           Same as silentoldconfig but sets new symbols to their default value\n");
 	printf("  --defconfig <file>      New config with default defined in <file>\n");
 	printf("  --savedefconfig <file>  Save the minimal current configuration to <file>\n");
 	printf("  --allnoconfig           New config where all options are answered with no\n");
Signature · 1 line
1.7.11.2