summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2019-03-27 07:46:59 (GMT)
committerAlexey Neyman <stilor@att.net>2019-04-05 01:57:42 (GMT)
commitd4fd69d5f1348613c22c88031de84d7dafd7301f (patch)
tree5fbb6b68b56845e6393979b713c3bcebff1e81ab
parentc65df691de2209fd45688349fc46b46004212124 (diff)
Change the "no viable version" check
... to make it easier to trace from `ct-ng menuconfig`. Signed-off-by: Alexey Neyman <stilor@att.net>
-rw-r--r--maintainer/kconfig-versions.template9
1 files changed, 5 insertions, 4 deletions
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!"