From d7ee16cb2872812cf61ad51469c748df17553c37 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Wed, 6 Jun 2018 00:50:36 -0700 Subject: Make patch order overridable by individual packages Signed-off-by: Alexey Neyman --- maintainer/kconfig-versions.template | 40 ++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'maintainer') diff --git a/maintainer/kconfig-versions.template b/maintainer/kconfig-versions.template index d5d4cc83..3db512e2 100644 --- a/maintainer/kconfig-versions.template +++ b/maintainer/kconfig-versions.template @@ -1,3 +1,5 @@ +#!// This file is not automatically generated, but we want this banner to +#!// appear in the files produced from it. # # DO NOT EDIT! This file is automatically generated. # @@ -167,6 +169,44 @@ endif endchoice +if EXPERIMENTAL +choice + bool "@@pkg_label@@ patches origin" + default @@fork|@@_PATCH_GLOBAL + +config @@fork|@@_PATCH_GLOBAL + bool "Per global policy" + +config @@fork|@@_PATCH_BUNDLED + bool "Bundled only" + +config @@fork|@@_PATCH_LOCAL + bool "Local only" + select PATCH_USE_LOCAL + +config @@fork|@@_PATCH_BUNDLED_LOCAL + bool "Bundled, then local" + select PATCH_USE_LOCAL + +config @@fork|@@_PATCH_LOCAL_BUNDLED + bool "Local, then bundled" + select PATCH_USE_LOCAL + +config @@fork|@@_PATCH_NONE + bool "None" + +endchoice +endif + +config @@fork|@@_PATCH_ORDER + string + default "bundled" if @@fork|@@_PATCH_BUNDLED + default "local" if @@fork|@@_PATCH_LOCAL + default "bundled,local" if @@fork|@@_PATCH_BUNDLED_LOCAL + default "local,bundled" if @@fork|@@_PATCH_LOCAL_BUNDLED + default "none" if @@fork|@@_PATCH_NONE + default "global" + #!// Below, we explicitly select all milestones to which a given version #!// compares greater-or-equal. We don't select just the latest applicable #!// (and letting milestones chain-select each other, with FOO_6_or_later -- cgit v1.2.3