diff options
Diffstat (limited to 'scripts/kconfig/zconf.y')
-rw-r--r-- | scripts/kconfig/zconf.y | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/kconfig/zconf.y b/scripts/kconfig/zconf.y index 04a5864c03b1..92eb02bdf9c5 100644 --- a/scripts/kconfig/zconf.y +++ b/scripts/kconfig/zconf.y | |||
@@ -501,9 +501,11 @@ void conf_parse(const char *name) | |||
501 | } | 501 | } |
502 | menu_finalize(&rootmenu); | 502 | menu_finalize(&rootmenu); |
503 | for_all_symbols(i, sym) { | 503 | for_all_symbols(i, sym) { |
504 | sym_check_deps(sym); | 504 | if (sym_check_deps(sym)) |
505 | zconfnerrs++; | ||
505 | } | 506 | } |
506 | 507 | if (zconfnerrs) | |
508 | exit(1); | ||
507 | sym_set_change_count(1); | 509 | sym_set_change_count(1); |
508 | } | 510 | } |
509 | 511 | ||