summaryrefslogtreecommitdiffstats
path: root/config/setup/Kconfig
blob: b7af5508c90bda86c5c2b561eb28d20c1df4e3a6 (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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
#
# config/Kconfig: Main menu structure definition
# Copyright (C) Robert Schwebel <r.schwebel@pengutronix.de> 2002-2008
#

mainmenu "PTXdist $SETUP_VERSION_DEFAULT"

config SETUP_VERSION_DEFAULT
	string
	option env="PTXDIST_VERSION_FULL"

config INVISIBLE
	bool
	help
	  don't delete this, it's to keep some menus in shape :)

comment "PTXDIST Setup Menu"

menu "User              "

config SETUP_USER_NAME
	prompt "Name"
	string
	default ""
	help
	  Full name of the user. Used as default in 'ptxdist newpackage'

config SETUP_USER_EMAIL
	prompt "eMail"
	string
	default ""
	help
	  eMail address of the user. Used as default in 'ptxdist newpackage'

endmenu

menu "Proxies           "

config SETUP_FTP_PROXY
	prompt "FTP Proxy"
	string
	default ""
	help
	  If you have to use a proxy for FTP transfers, please add the
	  proxy URL here. Example:

	              http://your.proxy.org:80

config SETUP_HTTP_PROXY
	prompt "HTTP Proxy"
	string
	default ""
	help
	  If you have to use a proxy for HTTP transfers, please add the
	  proxy URL here. Example:

	              http://your.proxy.org:80

config SETUP_HTTPS_PROXY
	prompt "HTTPS Proxy"
	string
	default ""
	help
	  If you have to use a proxy for HTTPS transfers, please add the
	  proxy URL here. Example:

	              http://your.proxy.org:80

config SETUP_NO_PROXY
	prompt "Proxy Exceptions"
	string
	default ""
	help
	  If you generally require a proxy, but need to add exceptions for
	  certain hosts, please add those as a comma-separated list here.
	  Example:

	              .localdomain,127.0.0.1

endmenu

menu "Project Searchpath"

config SETUP_PROJECTPATH
	prompt "Project Searchpath "
	string
	default "${PTXDIST_TOPDIR}/projects"
	help
	  This path is used to search for project templates when
	  running 'ptxdist projects'. You can clone the projects
	  specified in this path with 'ptxdist clone'. The path
	  is a : separated list.

endmenu

menu "Source Directories"

config SETUP_SRCDIR
	prompt "Source Directory"
	string
	default "${PTXDIST_WORKSPACE}/src"

endmenu

menu "Source Download   "

config SETUP_NO_DOWNLOAD
	bool "Do not download sources automatically"
	help
	  Set this to y to disable automatic download at all.

	  Note: this can be overwritten by adding the option
	  "--force-download" to the ptxdist call.

comment ""
	depends on INVISIBLE

if !SETUP_NO_DOWNLOAD

config SETUP_PTXMIRROR_ONLY
	bool
	prompt "Only use PTXdist Mirror to download packages"
	help
	  Set this to y if you only want to download packages from
	  PTXCONF_SETUP_PTXMIRROR

endif

config SETUP_PTXMIRROR
	string
	default "http://www.pengutronix.de/software/ptxdist/temporary-src"
	prompt "PTXdist Mirror"
	help
	  Enter the fallback mirror for all packages here.

########################################################################
# WARNING!                                                             #
#                                                                      #
# if you add a new mirror here, don't forget to regenerate the default #
# configfile:                                                          #
# "config/setup/ptxdistrc.default"                                     #
#                                                                      #
########################################################################

config SETUP_DEBMIRROR
	string
	default "http://ftp.uni-kl.de/debian"
	prompt "Debian Pool Mirror"
	help
	  The Debian pool mirror to use for downloading various
	  components of the target root filesystem.

config SETUP_SFMIRROR
	string
	default "http://downloads.sourceforge.net/sourceforge"
	prompt "Sourceforge Mirror"
	help
	  For all Sourceforge related packages enter an available mirror here.

config SETUP_GNUMIRROR
	string
	default "http://ftp.uni-kl.de/pub/gnu"
	prompt "GNU.org Mirror"
	help
	  For all GNU.org related packages enter an available mirror here.

config SETUP_XORGMIRROR
	string
	default "http://ftp.sunet.se/pub/X11/ftp.x.org http://ftp.x.org/pub http://xorg.freedesktop.org/releases"
	prompt "x.org Mirror"
	help
	  For all x.org related packages enter an available mirror here.

config SETUP_KERNELMIRROR
	string
	default "https://www.kernel.org/pub/linux http://www.linux-mips.org/pub/linux/mips http://mirror.linux.org.au/linux"
	prompt "kernel.org Mirror"
	help
	  For all kernel.org related packages enter an available mirror here.

choice
	prompt "archive check"
	default SETUP_CHECK_ALWAYS

	config SETUP_CHECK_ALWAYS
		bool
		prompt "always"

	config SETUP_CHECK_NOTEMPTY
		bool
		prompt "for existing checksum"

	config SETUP_CHECK_NEVER
		bool
		prompt "never"

endchoice

config SETUP_CHECK
	string
	default "always" if SETUP_CHECK_ALWAYS
	default "notempty" if SETUP_CHECK_NOTEMPTY
	default "never" if SETUP_CHECK_NEVER

endmenu

menu "IPKG Repository   "

config SETUP_IPKG_REPOSITORY
	string
	default "/var/www/ipkg-repository"
	prompt "Path to IPKG Repository"
	help
	  PTXdist can be used to update an IPKG server which is
	  accessible via a mounted path. Run 'make ipkg-push'
	  to push the packets from $IMAGEDIR to the server dir
	  which is specified here.

	  FIXME: add mechanism to use other transports than cp.
endmenu

menu "Java SDK          "

config SETUP_JAVA_SDK
	string
	default "/usr/lib/jvm/default-java"
	prompt "Java SDK"
	help
	  Specify the path to your Java SDK; this is needed if Java
	  programs are being compiled by PTXdist, for example
	  if you have selected JVisu.
	  This must not be '/usr' but the actual SDK path,
	  e.g. '/usr/lib/jvm/default-java'.
	  Make sure the selected directory contains bin/javac.

endmenu

menu "Developer Options "

#config SETUP_CHECK_OMIT_CASE
#	bool "don't check for case sensitive file system"

#config SETUP_CHECK_OMIT_SPACES
#	bool "don't check for spaces in important directories"

config SETUP_DISABLE_LOCAL_CHECK
	bool
	prompt "disable local disk check"
	help
	  By default ptxdist will check that the BSP is built on a
	  local disk. Building on a network file system is slow and
	  may fail under certain circumstances.
	  Disable this check at your own risk.

config SETUP_ENV_WHITELIST
	string "environment variable whitelist (space separated)"
	help
	  PTXdist clears the environment by default. Specify here a
	  space seprated list of environment variables to preserve.


config SETUP_COMMON_CACHE
	bool "use common configure cache"
	help
	  Use only one configure cache file for host and for target
	  packages, instead of a cache for each programm. This can
	  speed up compilation, but may breaks things badly.

	  This is a developer option, you probably don't want to
	  enable this.


config SETUP_GEN_DEP_TREE
	bool "generate dependency graphs"
	help
	  PTXdist has the feature to generate graphs to illustrate the
	  dependencies to build a root file system. This information
	  if probably only interesting for hard core developers or
	  marketing guys, you probably don't want it.

	  BTW: you need to install the 'dot' program of the
	       'graphviz' package for this.


config SETUP_CHECK_EXIT_ON_ERROR
	bool "enable exit on error"
	help
	  Use bash' "set -e" feature within ptxdist. Which enables
	  quite aggressive error checking. Don't turn this on until
	  you know what you're doing.


config SETUP_CCACHE
	bool "use ccache"
	help
	  ccache is a compiler cache. It speeds up re-compilation of
	  C/C++ code by caching previous compiles and detecting when
	  the same compile is being done again.


config SETUP_PATCHIN_GIT
	bool "use git to apply patches"
	help

	  Activating this option, ptxdist will use "git" instead of
	  quilt to apply patches.

	  _NOTE_: this is an experimental feature

config SETUP_NFS_REL_SYMLINK
	bool "make absolute symlinks relative on nfsroot"
	help
	  With this option enabled, ptxdist converts any absolute
	  symlink into a relative symlink when installing it to
	  ${PLATFORMDIR}/root{,-debug}. This makes it easier to check
	  for broken links.
	  The link installed into the image remains absolute.

config SETUP_DIRECT_CLEAN
	bool "ptxdist clean without check"
	help
	  I'm a developer. I know what I'm doing. Just clean the BSP.

config SETUP_HOST_CPP
	prompt "host CPP"
	string
	default "cpp"
	help
	  Specify the host preprocessor here.

config SETUP_HOST_CC
	prompt "host CC"
	string
	default "gcc"
	help
	  Specify the host C compile here.

config SETUP_HOST_CXX
	prompt "host CXX"
	string
	default "g++"
	help
	  Specify the host C++ compile here.

config SETUP_HOST_MAKE
	prompt "host MAKE"
	string
	default "make"
	help
	  Specify the host make programm here.

endmenu