mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 10:08:59 +00:00
ce014b1e39
All patches automatically rebased. Build system: x86_64 Build-tested: bcm2711/RPi4B, mt7622/RT3200 Run-tested: bcm2711/RPi4B, mt7622/RT3200 Signed-off-by: John Audia <therealgraysky@proton.me>
21 lines
574 B
Diff
21 lines
574 B
Diff
From 300d26562ce4dc427154cb247beb75db4b1f0774 Mon Sep 17 00:00:00 2001
|
|
From: OpenWrt community <openwrt-devel@lists.openwrt.org>
|
|
Date: Wed, 13 Jul 2022 13:29:57 +0200
|
|
Subject: [PATCH] scripts/Kconfig: Kconfig exit
|
|
|
|
---
|
|
scripts/kconfig/conf.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
--- a/scripts/kconfig/conf.c
|
|
+++ b/scripts/kconfig/conf.c
|
|
@@ -435,6 +435,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 '?':
|