summaryrefslogtreecommitdiff
path: root/maintainer/kconfig-versions.template
blob: 7aa0de17f96bcdae7bbf5f363ce68d3bcc0d5523 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
#
# DO NOT EDIT! This file is automatically generated.
#

#!if [ "@@nforks@@" -ge 2 ]
choice
	bool "Show @@master@@ versions from"

#!foreach fork
config @@masterpfx@@_USE_@@originpfx@@
	bool "@@origin@@"
#!if [ -n "@@only_obsolete@@" ]
	depends on OBSOLETE
#!end-if
#!if [ -n "@@only_experimental@@" ]
	depends on EXPERIMENTAL
#!end-if
	help
@@originhelp@@

#!end-foreach
endchoice

config @@masterpfx@@_USE
	string
#!foreach fork
	default "@@pfx@@" if @@masterpfx@@_USE_@@originpfx@@
#!end-foreach

#!end-if

#!foreach fork
#!if [ "@@nforks@@" -ge 2 ]
if @@masterpfx@@_USE_@@originpfx@@
#!end-if

if EXPERIMENTAL
choice
	bool "Source of @@name@@"

config @@pfx@@_SRC_RELEASE
	bool "Released tarball"
	help
	  Download a released tarball.

#!if [ -n "@@repository@@" ]
config @@pfx@@_SRC_DEVEL
	bool "Vendor repository"
	help
	  Check out from vendor repository at:
	  @@repository@@
#!end-if

config @@pfx@@_SRC_CUSTOM
	bool "Custom location"
	help
	  Custom directory or tarball.

endchoice
endif

#!if [ -n "@@repository@@" ]
if @@pfx@@_SRC_DEVEL

config @@pfx@@_DEVEL_VCS
	string
	default "@@vcs@@"

config @@pfx@@_DEVEL_URL
	string
	default "@@repository_url@@"

config @@pfx@@_DEVEL_BRANCH
	string "Branch to check out"
	default "@@repository_dflt_branch@@"
	help
	  Git: branch to be checked out
	  Subversion: directories to append to the repository URL.

config @@pfx@@_DEVEL_REVISION
	string "Revision/changeset"
	default "HEAD"
	help
	  Commit ID or revision ID to check out.

endif
#!end-if

if @@pfx@@_SRC_CUSTOM

config @@pfx@@_CUSTOM_LOCATION
	string "Custom source location"
	help
	  Path to the directory or tarball with the sources.

endif

choice
	bool "Version of @@name@@"

#!foreach version
config @@pfx@@_V_@@kcfg@@
	bool "@@ver@@"
	select @@pfx@@_V_@@kcfg@@_or_later

#!end-foreach
endchoice

#!if [ "@@nforks@@" -ge 2 ]
endif
#!end-if

config @@pfx@@_VERSION
	string
#!foreach version
	default "@@ver@@" if @@pfx@@_V_@@kcfg@@
#!end-foreach
	default "unknown"

#!foreach version
config @@pfx@@_V_@@kcfg@@_or_later
	bool
#!if [ -n "@@prev@@" ]
	select @@pfx@@_V_@@prev@@_or_later
#!end-if

#!end-foreach

#!end-foreach