diff options
author | Karel Kočí <cynerd@email.cz> | 2015-05-01 22:08:21 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-05-01 22:08:21 +0200 |
commit | 5ddb073d8ffb9b2fc641e782acdfacf67fda179f (patch) | |
tree | 19ead8bf4654414783df5f0780bbcde59449dfc4 /scripts/parse_kconfig | |
parent | 8ed42caeb44d04a7f2994f15dd57f82e74653e79 (diff) | |
download | linux-conf-perf-5ddb073d8ffb9b2fc641e782acdfacf67fda179f.tar.gz linux-conf-perf-5ddb073d8ffb9b2fc641e782acdfacf67fda179f.tar.bz2 linux-conf-perf-5ddb073d8ffb9b2fc641e782acdfacf67fda179f.zip |
parse_kconfig move debug output before action
Diffstat (limited to 'scripts/parse_kconfig')
-rw-r--r-- | scripts/parse_kconfig/parse.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/scripts/parse_kconfig/parse.c b/scripts/parse_kconfig/parse.c index dcd6852..1a26ef3 100644 --- a/scripts/parse_kconfig/parse.c +++ b/scripts/parse_kconfig/parse.c @@ -103,8 +103,12 @@ void cpy_dep() { el_id = symlist_id(gsymlist, sym->name); el = &(gsymlist->array[el_id - 1]); Iprintf("Processing: %s\n", sym->name); + if (el->prompt) + Dprintf("Is prompt\n"); for_all_defaults(sym, prop) { + Dprintf(" Default value:\n"); + doutput_expr(prop->expr); struct boolexpr *def = boolexpr_kconfig(gsymlist, prop->expr); if (el->def == NULL) { @@ -112,22 +116,20 @@ void cpy_dep() { } else { el->def = boolexpr_or(el->def, def); } - Dprintf(" Default value:\n"); - doutput_expr(prop->expr); } if (el->def == NULL) el->def = boolexpr_false(); if (sym->dir_dep.expr != NULL) { - el->dep = boolexpr_kconfig(gsymlist, sym->dir_dep.expr); Dprintf(" Dependency:\n"); doutput_expr(sym->dir_dep.expr); + el->dep = boolexpr_kconfig(gsymlist, sym->dir_dep.expr); } else el->dep = boolexpr_true(); if (sym->rev_dep.expr != NULL) { - el->rev_dep = - boolexpr_kconfig(gsymlist, sym->rev_dep.expr); Dprintf(" Reverse dependency:\n"); doutput_expr(sym->rev_dep.expr); + el->rev_dep = + boolexpr_kconfig(gsymlist, sym->rev_dep.expr); } else el->rev_dep = boolexpr_false(); |