summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2017-06-08 10:23:18 +0200
committerGerd Hoffmann <kraxel@redhat.com>2017-06-08 10:23:18 +0200
commit23101938fd6bed3e0c8aa30d6645ebb24d84b66e (patch)
tree1692f01aa127892e04a4758777ac9f1f80b2fa3e
parentc18fdd7aaf34e3c2fe345751b0089099b69d5321 (diff)
downloadkconfig-23101938fd6bed3e0c8aa30d6645ebb24d84b66e.tar.gz
ignore fails for nonexisting opts
-rwxr-xr-xkconfig4
1 files changed, 3 insertions, 1 deletions
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)