From 23101938fd6bed3e0c8aa30d6645ebb24d84b66e Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Thu, 8 Jun 2017 10:23:18 +0200 Subject: ignore fails for nonexisting opts --- kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kconfig b/kconfig index ed8ca95..a863ce8 100755 --- a/kconfig +++ b/kconfig @@ -69,12 +69,14 @@ function do_apply() { yes "" | $make oldconfig >/dev/null if grep -q "$option=$value" .config; then do_print "$option" "$value" "applied" - else + elif grep -q "${option}[= ]" .config; then do_print "$option" "$value" "FAIL" echo "--" grep "${option}[= ]" .config echo "--" exit 1 + else + do_print "$option" "o" "not supported by kernel" fi ;; CONFIG*=n) -- cgit