summaryrefslogtreecommitdiff
path: root/maintainer/kconfig-versions.template
diff options
context:
space:
mode:
Diffstat (limited to 'maintainer/kconfig-versions.template')
-rw-r--r--maintainer/kconfig-versions.template20
1 files changed, 20 insertions, 0 deletions
diff --git a/maintainer/kconfig-versions.template b/maintainer/kconfig-versions.template
index 3db512e..61414f5 100644
--- a/maintainer/kconfig-versions.template
+++ b/maintainer/kconfig-versions.template
@@ -276,6 +276,26 @@ config @@fork|@@_VERY_OLD
#!end-foreach
endchoice
+
+# A flag indicating that no valid selections exist for the version.
+# This may happen if there are conflicting requirements set by
+# the host system and/or other packages.
+config @@fork|@@_NO_VERSIONS
+ bool
+ select INVALID_CONFIGURATION
+ default n if @@fork|@@_VERY_NEW
+#!foreach version
+ default n if @@fork|@@_V_@@ver_sel|@@
+#!end-foreach
+ default n if @@fork|@@_VERY_OLD
+ default y
+
+if @@fork|@@_NO_VERSIONS
+comment "WARNING!"
+comment "| The @@master@@ package has no viable versions"
+comment "| due to conflicting constraints."
+endif
+
#!end-if
#!if [ -n "@@versionlocked@@" ]