From cf27cf836f651a912e822320d9d302f69d443f0c Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Thu, 30 Aug 2018 16:41:12 +0200 Subject: skip unsupported options --- kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kconfig b/kconfig index 842672c..427ecc9 100755 --- a/kconfig +++ b/kconfig @@ -88,12 +88,14 @@ function do_apply() { yes "" | $make oldconfig >/dev/null if grep -q "$option is not set" .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 ;; "#"*) ;; -- cgit