]> Git Repo - buildroot-mgba.git/blame - system/Config.in
linux-headers: bump 3.2.x series
[buildroot-mgba.git] / system / Config.in
CommitLineData
beb43c7d 1menu "System configuration"
d65976fe
PK
2
3config BR2_TARGET_GENERIC_HOSTNAME
bed4e278
TDS
4 string "System hostname"
5 default "buildroot"
6 help
7 Select system hostname to be stored in /etc/hostname.
d65976fe 8
dec1a146
SJ
9 Leave empty to not create /etc/hostname, or to keep the
10 one from a custom skeleton.
11
d65976fe 12config BR2_TARGET_GENERIC_ISSUE
bed4e278
TDS
13 string "System banner"
14 default "Welcome to Buildroot"
15 help
16 Select system banner (/etc/issue) to be displayed at login.
d65976fe 17
dec1a146
SJ
18 Leave empty to not create /etc/issue, or to keep the
19 one from a custom skeleton.
20
72defc45
YM
21choice
22 bool "Passwords encoding"
23 default BR2_TARGET_GENERIC_PASSWD_MD5
24 help
25 Choose the password encoding scheme to use when Buildroot
26 needs to encode a password (eg. the root password, below).
beea18a4 27
72defc45
YM
28 Note: this is used at build-time, and *not* at runtime.
29
30config BR2_TARGET_GENERIC_PASSWD_DES
31 bool "des"
32 help
33 Use standard 56-bit DES-based crypt(3) to encode passwords.
beea18a4 34
72defc45
YM
35 Old, wildly available, but also the weakest, very susceptible to
36 brute-force attacks.
37
38config BR2_TARGET_GENERIC_PASSWD_MD5
39 bool "md5"
40 help
41 Use MD5 to encode passwords.
beea18a4 42
72defc45
YM
43 The default. Wildly available, and pretty good.
44 Although pretty strong, MD5 is now an old hash function, and
45 suffers from some weaknesses, which makes it susceptible to
46 brute-force attacks.
47
48config BR2_TARGET_GENERIC_PASSWD_SHA256
49 bool "sha-256"
50 help
51 Use SHA256 to encode passwords.
beea18a4 52
72defc45
YM
53 Very strong, but not ubiquitous, although available in glibc
54 for some time now. Choose only if you are sure your C library
55 understands SHA256 passwords.
56
57config BR2_TARGET_GENERIC_PASSWD_SHA512
58 bool "sha-512"
59 help
60 Use SHA512 to encode passwords.
beea18a4 61
72defc45
YM
62 Extremely strong, but not ubiquitous, although available in glibc
63 for some time now. Choose only if you are sure your C library
64 understands SHA512 passwords.
65
66endchoice # Passwd encoding
67
68config BR2_TARGET_GENERIC_PASSWD_METHOD
69 string
70 default "des" if BR2_TARGET_GENERIC_PASSWD_DES
71 default "md5" if BR2_TARGET_GENERIC_PASSWD_MD5
72 default "sha-256" if BR2_TARGET_GENERIC_PASSWD_SHA256
73 default "sha-512" if BR2_TARGET_GENERIC_PASSWD_SHA512
74
c92aacd3
MR
75choice
76 prompt "Init system"
77 default BR2_INIT_BUSYBOX
78
79config BR2_INIT_BUSYBOX
80 bool "Busybox"
81 select BR2_PACKAGE_BUSYBOX
82
83config BR2_INIT_SYSV
84 bool "systemV"
cac4fe50 85 select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # sysvinit
c92aacd3
MR
86 select BR2_PACKAGE_SYSVINIT
87
88config BR2_INIT_SYSTEMD
89 bool "systemd"
db7ad005 90 depends on BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS
2c66e442 91 depends on BR2_TOOLCHAIN_USES_GLIBC
c92aacd3
MR
92 depends on BR2_LARGEFILE
93 depends on BR2_USE_WCHAR
94 depends on BR2_INET_IPV6
c92aacd3 95 depends on BR2_TOOLCHAIN_HAS_THREADS
2c66e442 96 depends on BR2_TOOLCHAIN_HAS_SSP
3845a93b 97 depends on BR2_USE_MMU
2c66e442 98 depends on !BR2_PREFER_STATIC_LIB
6dc3b6dd 99 depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8
c92aacd3
MR
100 select BR2_PACKAGE_SYSTEMD
101
6dc3b6dd 102comment 'systemd needs an (e)glibc toolchain, headers >= 3.8'
24946467 103 depends on !(BR2_TOOLCHAIN_USES_GLIBC \
6dc3b6dd 104 && BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8)
c92aacd3 105
0c00636e
YM
106config BR2_INIT_NONE
107 bool "None"
108
c92aacd3
MR
109endchoice
110
0b90a82c 111choice
2c66e442 112 prompt "/dev management" if !BR2_INIT_SYSTEMD
0b90a82c 113 default BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS
114
115config BR2_ROOTFS_DEVICE_CREATION_STATIC
116 bool "Static using device table"
117
118config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS
119 bool "Dynamic using devtmpfs only"
120
121config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV
122 bool "Dynamic using mdev"
123 select BR2_PACKAGE_BUSYBOX
124
937a9544 125config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV
126 bool "Dynamic using eudev"
127 depends on !BR2_avr32 # eudev
128 depends on BR2_LARGEFILE
129 depends on BR2_USE_WCHAR
130 depends on !BR2_PREFER_STATIC_LIB
b108fdcb 131 depends on BR2_USE_MMU # eudev
937a9544 132 select BR2_PACKAGE_EUDEV
0b90a82c 133
937a9544 134comment "eudev needs a toolchain w/ largefile, wchar, dynamic library"
135 depends on !BR2_avr32 # eudev
b108fdcb 136 depends on BR2_USE_MMU
937a9544 137 depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || BR2_PREFER_STATIC_LIB
0b90a82c 138
139endchoice
140
2c66e442 141comment "/dev management using udev (from systemd)"
142 depends on BR2_INIT_SYSTEMD
143
e23a4bc7 144config BR2_ROOTFS_DEVICE_TABLE
9dc7b73f 145 string "Path to the permission tables"
9d8dd5ee 146 default "system/device_table.txt"
9dc7b73f
PK
147 help
148 Specify a space-separated list of permission table locations,
149 that will be passed to the makedevs utility to assign
150 correct owners and permissions on various files in the
151 target filesystem.
152
153 See package/makedevs/README for details on the usage and
154 syntax of these files.
155
156config BR2_ROOTFS_STATIC_DEVICE_TABLE
e23a4bc7 157 string "Path to the device tables"
9d8dd5ee 158 default "system/device_table_dev.txt"
9dc7b73f 159 depends on BR2_ROOTFS_DEVICE_CREATION_STATIC
e23a4bc7
PK
160 help
161 Specify a space-separated list of device table locations,
162 that will be passed to the makedevs utility to create all
9dc7b73f 163 the special device files under /dev.
e23a4bc7
PK
164
165 See package/makedevs/README for details on the usage and
166 syntax of these files.
167
168choice
169 prompt "Root FS skeleton"
170
171config BR2_ROOTFS_SKELETON_DEFAULT
172 bool "default target skeleton"
173 help
174 Use default target skeleton
175
176config BR2_ROOTFS_SKELETON_CUSTOM
177 bool "custom target skeleton"
178 help
179 Use custom target skeleton.
180
181endchoice
182
183if BR2_ROOTFS_SKELETON_CUSTOM
184config BR2_ROOTFS_SKELETON_CUSTOM_PATH
185 string "custom target skeleton path"
6c3e3ad4 186 default "system/skeleton"
e23a4bc7
PK
187 help
188 Path custom target skeleton.
189endif
190
7d9d09db 191if BR2_ROOTFS_SKELETON_DEFAULT
9611fd60 192
b98b191b
YM
193config BR2_TARGET_GENERIC_ROOT_PASSWD
194 string "Root password"
195 default ""
196 help
197 Set the initial root password (in clear). It will be md5-encrypted.
beea18a4 198
b98b191b
YM
199 If set to empty (the default), then no root password will be set,
200 and root will need no password to log in.
beea18a4 201
b98b191b
YM
202 WARNING! WARNING!
203 Although pretty strong, MD5 is now an old hash function, and
204 suffers from some weaknesses, which makes it susceptible to attacks.
205 It is showing its age, so this root password should not be trusted
206 to properly secure any product that can be shipped to the wide,
207 hostile world.
beea18a4 208
b98b191b
YM
209 WARNING! WARNING!
210 The password appears in clear in the .config file, and may appear
211 in the build log! Avoid using a valuable password if either the
212 .config file or the build log may be distributed!
213
ed6912e8 214config BR2_TARGET_GENERIC_GETTY
bed4e278
TDS
215 bool "Run a getty (login prompt) after boot"
216 default y
ed6912e8
AI
217
218if BR2_TARGET_GENERIC_GETTY
219menu "getty options"
9611fd60 220config BR2_TARGET_GENERIC_GETTY_PORT
ed6912e8 221 string "TTY port"
5cfc41c7
YY
222 default "ttyS0"
223 help
ed6912e8 224 Specify a port to run a getty on.
9611fd60
PK
225
226choice
ed6912e8 227 prompt "Baudrate"
9611fd60
PK
228 default BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200
229 help
230 Select a baudrate to use.
231
63534684 232config BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP
bed4e278 233 bool "keep kernel default"
9611fd60
PK
234config BR2_TARGET_GENERIC_GETTY_BAUDRATE_9600
235 bool "9600"
236config BR2_TARGET_GENERIC_GETTY_BAUDRATE_19200
237 bool "19200"
238config BR2_TARGET_GENERIC_GETTY_BAUDRATE_38400
239 bool "38400"
240config BR2_TARGET_GENERIC_GETTY_BAUDRATE_57600
241 bool "57600"
242config BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200
243 bool "115200"
244endchoice
245
246config BR2_TARGET_GENERIC_GETTY_BAUDRATE
247 string
63534684 248 default "0" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP
9611fd60
PK
249 default "9600" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_9600
250 default "19200" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_19200
251 default "38400" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_38400
252 default "57600" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_57600
253 default "115200" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200
254
a0df7e1f 255config BR2_TARGET_GENERIC_GETTY_TERM
ed6912e8 256 string "TERM environment variable"
a0df7e1f
RB
257 default "vt100"
258 help
259 Specify a TERM type.
a68a5125
AI
260
261config BR2_TARGET_GENERIC_GETTY_OPTIONS
262 string "other options to pass to getty"
263 default ""
264 help
265 Any other flags you want to pass to getty,
266 Refer to getty --help for details.
ed6912e8
AI
267endmenu
268endif
a0df7e1f 269
d6a37917
YM
270config BR2_TARGET_TZ_INFO
271 bool "Install timezone info"
337fbd54
YM
272 # No timezone for musl; only for uClibc or (e)glibc.
273 depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC
274 select BR2_PACKAGE_TZDATA if BR2_TOOLCHAIN_USES_GLIBC
275 select BR2_PACKAGE_TZ if BR2_TOOLCHAIN_USES_UCLIBC
d6a37917
YM
276 help
277 Say 'y' here to install timezone info.
278
279if BR2_TARGET_TZ_INFO
280
281config BR2_TARGET_TZ_ZONELIST
282 string "timezone list"
283 default "default"
284 help
285 Space-separated list of time zones to compile.
286
287 The value "default" includes all commonly used time zones. Note
337fbd54 288 that this set consumes around 5.5M for (e)glibc and 2.1M for uClibc.
d6a37917
YM
289
290 The full list is the list of files in the time zone database source,
291 not including the build and .tab files.
292
3f595cde
YM
293config BR2_TARGET_LOCALTIME
294 string "default local time"
295 help
296 The time zone to install as the default local time, expressed as a
297 tzdata location, such as:
298 GMT
299 Europe/Paris
300 America/New_York
301 Pacific/Wallis
302 ...
303
304 If empty, no local time will be set, and the dates will be
305 expressed in UTC.
306
d6a37917
YM
307endif # BR2_TARGET_TZ_INFO
308
36b4b852
LC
309config BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW
310 bool "remount root filesystem read-write during boot"
311 default y
312 help
313 The root filesystem is typically mounted read-only at boot.
314 By default, buildroot remounts it in read-write mode early during the
315 boot process.
316 Say no here if you would rather like your root filesystem to remain
317 read-only.
318 If unsure, say Y.
319
7d9d09db 320endif # BR2_ROOTFS_SKELETON_DEFAULT
d65976fe 321
b019490a
ELB
322config BR2_ROOTFS_USERS_TABLES
323 string "Path to the users tables"
324 help
325 Specify a space-separated list of users table locations,
326 that will be passed to the mkusers utility to create
327 users on the system, with home directory, password, etc.
328
329 See manual for details on the usage and syntax of these files.
330
7f860892
AVEM
331config BR2_ROOTFS_OVERLAY
332 string "Root filesystem overlay directories"
333 default ""
334 help
335 Specify a list of directories that are copied over the target
336 root filesystem after the build has finished and before it is
337 packed into the selected filesystem images.
338
339 They are copied as-is into the rootfs, excluding files ending with
340 ~ and .git, .svn and .hg directories.
341
e23a4bc7 342config BR2_ROOTFS_POST_BUILD_SCRIPT
c482eed7 343 string "Custom scripts to run before creating filesystem images"
e23a4bc7
PK
344 default ""
345 help
dbf4978e
PR
346 Specify a space-separated list of scripts to be run after the build
347 has finished and before Buildroot starts packing the files into
348 selected filesystem images.
e23a4bc7 349
5f71cc90 350 This gives users the opportunity to do board-specific cleanups,
e23a4bc7
PK
351 add-ons and the like, so the generated files can be used directly
352 without further processing.
353
f1f97b3a
YM
354 These scripts are called with the target directory name as first
355 argument. Make sure the exit code of those scripts are 0, otherwise
356 make will stop after calling them.
e23a4bc7 357
9fa32ba0
TP
358config BR2_ROOTFS_POST_IMAGE_SCRIPT
359 string "Custom scripts to run after creating filesystem images"
360 default ""
361 help
362 Specify a space-separated list of scripts to be run after
363 the build has finished and after Buildroot has packed the
364 files into selected filesystem images.
365
366 This can for example be used to call a tool building a
367 firmware image from different images generated by Buildroot,
368 or automatically extract the tarball root filesystem image
369 into some location exported by NFS, or any other custom
370 action.
371
372 These scripts are called with the images directory name as
f1f97b3a
YM
373 first argument. The script is executed from the main Buildroot
374 source directory as the current directory.
375
376config BR2_ROOTFS_POST_SCRIPT_ARGS
377 string "Extra post-{build,image} arguments"
378 depends on BR2_ROOTFS_POST_BUILD_SCRIPT != "" || BR2_ROOTFS_POST_IMAGE_SCRIPT != ""
379 help
5f71cc90 380 Pass these additional arguments to each post-build or post-image
f1f97b3a
YM
381 scripts.
382
383 Note that all the post-build and post-image scripts will be passed
384 the same set of arguments, you can not pass different arguments to
385 each script.
386
387 Note also, as stated in their respective help text, that the first
388 argument to each post-build or post-image script is the target
389 directory / images directory. The arguments in this option will be
390 passed *after* those.
9fa32ba0 391
beb43c7d 392endmenu
This page took 0.293687 seconds and 4 git commands to generate.