generic: 5.15: refresh hack patch
[openwrt/staging/stintel.git] / target / linux / generic / hack-5.15 / 205-kconfig-exit.patch
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 '?':