diff options
Diffstat (limited to 'programs/src/kconfig_parser')
-rw-r--r-- | programs/src/kconfig_parser/kconfig_parser.c | 8 | ||||
-rw-r--r-- | programs/src/kconfig_parser/macros.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/programs/src/kconfig_parser/kconfig_parser.c b/programs/src/kconfig_parser/kconfig_parser.c index ef49551..a0425db 100644 --- a/programs/src/kconfig_parser/kconfig_parser.c +++ b/programs/src/kconfig_parser/kconfig_parser.c @@ -88,11 +88,11 @@ void cpy_dep() { for_all_symbols(i, sym) { if ((sym->type == S_BOOLEAN || sym->type == S_TRISTATE) && strstr(sym->name, "NONAMEGEN") == NULL) { - Iprintf("working: %s\n", sym->name); - el = symlist_find(gsymlist, sym->name); + Iprintf("working: %s(%d)\n", sym->name, el->id); + if (sym->dir_dep.expr != NULL) { - if (verbose_level > 2) + if (verbose_level > 3) printf_original(gsymlist, sym->dir_dep.expr); el->be = kconfig_cnfexpr(gsymlist, false, sym->dir_dep.expr); Iprintf("Direct:\n"); @@ -100,7 +100,7 @@ void cpy_dep() { cnf_printf(el->be); } if (sym->rev_dep.expr != NULL) { - if (verbose_level > 2) + if (verbose_level > 3) printf_original(gsymlist, sym->rev_dep.expr); el->re_be = kconfig_cnfexpr(gsymlist, true, sym->rev_dep.expr); Iprintf("Revers:\n"); diff --git a/programs/src/kconfig_parser/macros.h b/programs/src/kconfig_parser/macros.h index 6044f31..13a5d43 100644 --- a/programs/src/kconfig_parser/macros.h +++ b/programs/src/kconfig_parser/macros.h @@ -7,5 +7,5 @@ extern int verbose_level; // Defined in kconfig_parser.c #ifndef DEBUG #define Dprintf(...) #else -#define Dprintf(...) if (verbose_level > 2) printf(a, __VA_ARGS__) +#define Dprintf(...) if (verbose_level > 3) printf(a, __VA_ARGS__) #endif /* DEBUG */ |