From d4fd69d5f1348613c22c88031de84d7dafd7301f Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Wed, 27 Mar 2019 00:46:59 -0700 Subject: Change the "no viable version" check ... to make it easier to trace from `ct-ng menuconfig`. Signed-off-by: Alexey Neyman diff --git a/maintainer/kconfig-versions.template b/maintainer/kconfig-versions.template index 4ac81be..61414f5 100644 --- a/maintainer/kconfig-versions.template +++ b/maintainer/kconfig-versions.template @@ -281,13 +281,14 @@ endchoice # This may happen if there are conflicting requirements set by # the host system and/or other packages. config @@fork|@@_NO_VERSIONS - def_bool y + bool select INVALID_CONFIGURATION - depends on !@@fork|@@_VERY_NEW + default n if @@fork|@@_VERY_NEW #!foreach version - depends on !@@fork|@@_V_@@ver_sel|@@ + default n if @@fork|@@_V_@@ver_sel|@@ #!end-foreach - depends on !@@fork|@@_VERY_OLD + default n if @@fork|@@_VERY_OLD + default y if @@fork|@@_NO_VERSIONS comment "WARNING!" -- cgit v0.10.2-6-g49f6