summaryrefslogtreecommitdiff
path: root/maintainer/kconfig-versions.template
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2019-04-05 21:09:48 (GMT)
committerGitHub <noreply@github.com>2019-04-05 21:09:48 (GMT)
commit51f1db5c0aed562caf6d195ee5d3666ee33cc0ad (patch)
treedfcb47a7f71ddb84e81e6a89530dcaf4f33b0dfe /maintainer/kconfig-versions.template
parentace18924a37dce89d9476dfc9a4ec329e77660a2 (diff)
parent693d3943b10665b99a31ab1f3b4058fb4b3a32d1 (diff)
Merge pull request #1178 from stilor/master
Last fixes for 1.24.0
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@@" ]