summaryrefslogtreecommitdiff
path: root/kconfig/symbol.c
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2015-11-12 05:27:24 (GMT)
committerBryan Hundven <bryanhundven@gmail.com>2015-11-12 05:27:24 (GMT)
commite40f4ee0112e6c9b0a16fb12ebd7bbcabc9b844a (patch)
tree7197d3389bee18dccc349f09a8c69711aad29a06 /kconfig/symbol.c
parent265503461b24eba2c946d6e70c760e530eaba170 (diff)
kconfig: Add updates from linux-4.3 and 4.4
Add updates from the following merges: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/scripts/kconfig?id=605e9710fb5fef0dd2bb49d7b75e46601df62112 and https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/scripts/kconfig?id=152813e6e4bbb5f017e33eba7eb01bbda4b389b8 that apply to crosstool-ng. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Diffstat (limited to 'kconfig/symbol.c')
-rw-r--r--kconfig/symbol.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/kconfig/symbol.c b/kconfig/symbol.c
index 70c5ee1..25cf0c2 100644
--- a/kconfig/symbol.c
+++ b/kconfig/symbol.c
@@ -467,8 +467,7 @@ void sym_clear_all_valid(void)
for_all_symbols(i, sym)
sym->flags &= ~SYMBOL_VALID;
sym_add_change_count(1);
- if (modules_sym)
- sym_calc_value(modules_sym);
+ sym_calc_value(modules_sym);
}
bool sym_tristate_within_range(struct symbol *sym, tristate val)
@@ -1117,6 +1116,8 @@ static void sym_check_print_recursive(struct symbol *last_sym)
if (stack->sym == last_sym)
fprintf(stderr, "%s:%d:error: recursive dependency detected!\n",
prop->file->name, prop->lineno);
+ fprintf(stderr, "For a resolution refer to Documentation/kbuild/kconfig-language.txt\n");
+ fprintf(stderr, "subsection \"Kconfig recursive dependency limitations\"\n");
if (stack->expr) {
fprintf(stderr, "%s:%d:\tsymbol %s %s value contains %s\n",
prop->file->name, prop->lineno,