205-kconfig-exit.patch 290 B

1234567891011
  1. --- a/scripts/kconfig/conf.c
  2. +++ b/scripts/kconfig/conf.c
  3. @@ -435,6 +435,8 @@ static int conf_sym(struct menu *menu)
  4. break;
  5. continue;
  6. case 0:
  7. + if (!sym_has_value(sym) && !tty_stdio && getenv("FAIL_ON_UNCONFIGURED"))
  8. + exit(1);
  9. newval = oldval;
  10. break;
  11. case '?':