8931ad3270bc8983f4b94e883f170b97056bab79
[openwrt/staging/mkresin.git] / target / linux / generic / hack-5.4 / 205-kconfig-exit.patch
1 --- a/scripts/kconfig/conf.c
2 +++ b/scripts/kconfig/conf.c
3 @@ -212,6 +212,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 '?':