summaryrefslogtreecommitdiff
path: root/maintainer/kconfig-versions.template
blob: 9a04f573de76b1cea90cae24c11cfe2eb4af8bb7 (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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
#
# 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 a project makes official releases, using "bleeding edge"
#!// from a development repository is experimental. However, there
#!// are projects that consider its HEAD a "rolling release". For
#!// those, checking out from a repository is the regular method.
#!if [ -n "@@all_versions@@" ]
if EXPERIMENTAL
#!end-if
choice
	bool "Source of @@name@@"

#!if [ -n "@@all_versions@@" ]
config @@pfx@@_SRC_RELEASE
	bool "Released tarball"
	help
	  Download a released tarball.

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

#!end-if
config @@pfx@@_SRC_CUSTOM
	bool "Custom location"
	depends on EXPERIMENTAL
	help
	  Custom directory or tarball.

endchoice
#!if [ -n "@@all_versions@@" ]
endif
#!end-if

#!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@@"
#!if [ "@@obsolete@@" = "yes" ]
	depends on OBSOLETE
#!end-if
#!if [ "@@experimental@@" = "yes" ]
	depends on EXPERIMENTAL
#!end-if
#!if [ -n "@@milestone@@" ]
	select @@masterpfx@@_MS_@@milestone@@
#!end-if

#!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"

#!end-foreach

#!foreach milestone
config @@masterpfx@@_MS_@@ms_kcfg@@
	bool
#!if [ -n "@@ms_prev@@" ]
	select @@masterpfx@@_MS_@@ms_prev@@
#!end-if

#!end-foreach