mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
12 lines
290 B
Diff
12 lines
290 B
Diff
|
--- a/scripts/kconfig/conf.c
|
||
|
+++ b/scripts/kconfig/conf.c
|
||
|
@@ -212,6 +212,8 @@ static int conf_sym(struct menu *menu)
|
||
|
break;
|
||
|
continue;
|
||
|
case 0:
|
||
|
+ if (!sym_has_value(sym) && !tty_stdio && getenv("FAIL_ON_UNCONFIGURED"))
|
||
|
+ exit(1);
|
||
|
newval = oldval;
|
||
|
break;
|
||
|
case '?':
|