blob: 9343f18c8a83538bee2754331a1b4a8715cb37fd (
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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
|
#
# 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@@
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 "@@repository_cset@@"
help
Commit ID or revision ID to check out.
endif
#!end-if
config @@pfx@@_SRC_CUSTOM
bool "Custom location"
depends on EXPERIMENTAL
help
Custom directory or tarball.
if @@pfx@@_SRC_CUSTOM
config @@pfx@@_CUSTOM_LOCATION
string "Custom source location"
help
Path to the directory or tarball with the sources.
endif
endchoice
#!if [ -n "@@all_versions@@" ]
endif
config @@pfx@@_MIRRORS_ARRAY
string
default "@@mirrors@@"
#!end-if
#!// 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
#!// selecting FOO_5_or_later and so on) so that we can handle the cases
#!// where we need to identify a range of releases on a branch, for example,
#!// "all FOO releases after 4.9.1 but before 4.9.3".
#!//
#!if [ -n "@@all_versions@@" -a -z "@@versionlocked@@" ]
choice
bool "Version of @@name@@"
help
For a released version, select the version of @@name@@ to download
and build. For sources out of the vendor repository or from a custom
location, select the version that describes those custom sources.
Based on this version, crosstool-NG may apply some version-specific
quirks while building @@name@@.
config @@pfx@@_VERY_NEW
bool "newer than anything below"
depends on EXPERIMENTAL
depends on @@pfx@@_SRC_DEVEL || @@pfx@@_SRC_CUSTOM
#!foreach milestone
select @@masterpfx@@_@@ms_kcfg@@_or_later
depends on !@@masterpfx@@_REQUIRE_@@ms_kcfg@@_or_older
#!end-foreach
#!foreach version
config @@pfx@@_V_@@kcfg@@
bool "@@ver@@@@ver_postfix@@"
#!if [ "@@obsolete@@" = "yes" ]
depends on OBSOLETE
#!end-if
#!if [ "@@experimental@@" = "yes" ]
depends on EXPERIMENTAL
#!end-if
#!foreach milestone
#!if [ "@@version_cmp_milestone@@" -ge 0 ]
select @@masterpfx@@_@@ms_kcfg@@_or_later
#!end-if
#!if [ "@@version_cmp_milestone@@" -gt 0 ]
depends on !@@masterpfx@@_REQUIRE_@@ms_kcfg@@_or_older
#!end-if
#!if [ "@@version_cmp_milestone@@" -lt 0 ]
depends on !@@masterpfx@@_REQUIRE_@@ms_kcfg@@_or_later
#!end-if
#!end-foreach
#!end-foreach
config @@pfx@@_VERY_OLD
bool "older than anything above"
depends on OBSOLETE && EXPERIMENTAL
depends on @@pfx@@_SRC_DEVEL || @@pfx@@_SRC_CUSTOM
#!foreach milestone
depends on !@@masterpfx@@_REQUIRE_@@ms_kcfg@@_or_later
#!end-foreach
endchoice
#!end-if
#!if [ -n "@@versionlocked@@" ]
#!foreach version
config @@pfx@@_V_@@kcfg@@
def_bool y
depends on @@versionlocked@@_V_@@kcfg@@
#!end-foreach
#!end-if
#!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
#!// Milestones selected by a chosen version of this package
config @@masterpfx@@_@@ms_kcfg@@_or_later
bool
#!// Milestone requirements selected by other packages that restrict
#!// the choices in this package
config @@masterpfx@@_REQUIRE_@@ms_kcfg@@_or_later
bool
config @@masterpfx@@_REQUIRE_@@ms_kcfg@@_or_older
bool
#!end-foreach
|