Config.in 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685
  1. menu "System configuration"
  2. # Note on package/skeleton: usually, it is not safe to 'select' a
  3. # provider of a virtual package. But below we have an exception: each
  4. # init system may select one of the virtual skeleton-init-* packages.
  5. # As only one init system may be enabled, only one skeleton-init-* may
  6. # be selected. So this is a safe situation.
  7. choice
  8. prompt "Root FS skeleton"
  9. config BR2_ROOTFS_SKELETON_DEFAULT
  10. bool "default target skeleton"
  11. help
  12. Use default target skeleton for selected init system.
  13. config BR2_ROOTFS_SKELETON_CUSTOM
  14. bool "custom target skeleton"
  15. select BR2_PACKAGE_SKELETON_CUSTOM
  16. help
  17. Use custom target skeleton.
  18. # skeleton from br2-external trees, if any
  19. source "$BR2_BASE_DIR/.br2-external.in.skeleton"
  20. endchoice
  21. if BR2_ROOTFS_SKELETON_CUSTOM
  22. config BR2_ROOTFS_SKELETON_CUSTOM_PATH
  23. string "custom target skeleton path"
  24. help
  25. Path to custom target skeleton.
  26. endif
  27. if BR2_ROOTFS_SKELETON_DEFAULT
  28. config BR2_TARGET_GENERIC_HOSTNAME
  29. string "System hostname"
  30. default "buildroot"
  31. help
  32. Select system hostname to be stored in /etc/hostname.
  33. Leave empty to not create /etc/hostname, or to keep the
  34. one from a custom skeleton.
  35. config BR2_TARGET_GENERIC_ISSUE
  36. string "System banner"
  37. default "Welcome to Buildroot"
  38. help
  39. Select system banner (/etc/issue) to be displayed at login.
  40. Leave empty to not create /etc/issue, or to keep the
  41. one from a custom skeleton.
  42. endif
  43. choice
  44. bool "Passwords encoding"
  45. default BR2_TARGET_GENERIC_PASSWD_SHA256
  46. help
  47. Choose the password encoding scheme to use when Buildroot
  48. needs to encode a password (eg. the root password, below).
  49. Note: this is used at build-time, and *not* at runtime.
  50. config BR2_TARGET_GENERIC_PASSWD_SHA256
  51. bool "sha-256"
  52. help
  53. Use SHA256 to encode passwords which is stronger than MD5.
  54. config BR2_TARGET_GENERIC_PASSWD_SHA512
  55. bool "sha-512"
  56. help
  57. Use SHA512 to encode passwords which is stronger than SHA256
  58. endchoice # Passwd encoding
  59. config BR2_TARGET_GENERIC_PASSWD_METHOD
  60. string
  61. default "sha-256" if BR2_TARGET_GENERIC_PASSWD_SHA256
  62. default "sha-512" if BR2_TARGET_GENERIC_PASSWD_SHA512
  63. # See comment at the top of the file, about selecting individual
  64. # skeletons, which are providers of the virtual skeleton package.
  65. choice
  66. prompt "Init system"
  67. default BR2_INIT_BUSYBOX
  68. config BR2_INIT_BUSYBOX
  69. bool "BusyBox"
  70. select BR2_PACKAGE_BUSYBOX
  71. select BR2_PACKAGE_INITSCRIPTS
  72. select BR2_PACKAGE_SKELETON_INIT_SYSV if BR2_ROOTFS_SKELETON_DEFAULT
  73. config BR2_INIT_SYSV
  74. bool "systemV"
  75. depends on BR2_USE_MMU # sysvinit
  76. select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # sysvinit
  77. select BR2_PACKAGE_INITSCRIPTS
  78. select BR2_PACKAGE_SYSVINIT
  79. select BR2_PACKAGE_SKELETON_INIT_SYSV if BR2_ROOTFS_SKELETON_DEFAULT
  80. config BR2_INIT_OPENRC
  81. bool "OpenRC"
  82. depends on BR2_USE_MMU
  83. depends on !BR2_STATIC_LIBS
  84. select BR2_PACKAGE_OPENRC
  85. select BR2_PACKAGE_SKELETON_INIT_OPENRC if BR2_ROOTFS_SKELETON_DEFAULT
  86. comment "openrc needs a toolchain w/ dynamic library"
  87. depends on BR2_USE_MMU
  88. depends on BR2_STATIC_LIBS
  89. # In Buildroot, we decided not to support a split-usr when systemd is
  90. # used as an init system. This is a design decision, not a systemd
  91. # issue. Thus the select is with BR2_INIT_SYSTEMD (below) rather than
  92. # with BR2_PACKAGE_SYSTEMD.
  93. config BR2_INIT_SYSTEMD
  94. bool "systemd"
  95. depends on BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS
  96. depends on BR2_USE_MMU
  97. depends on !BR2_STATIC_LIBS
  98. depends on BR2_TOOLCHAIN_USES_GLIBC
  99. depends on BR2_TOOLCHAIN_HAS_SSP
  100. depends on BR2_TOOLCHAIN_HAS_THREADS
  101. depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15
  102. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5
  103. depends on BR2_HOST_GCC_AT_LEAST_5
  104. select BR2_ROOTFS_MERGED_USR
  105. select BR2_PACKAGE_SYSTEMD
  106. select BR2_PACKAGE_SKELETON_INIT_SYSTEMD if BR2_ROOTFS_SKELETON_DEFAULT
  107. comment "systemd needs a glibc toolchain w/ SSP, headers >= 3.15, host and target gcc >= 5"
  108. depends on BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS
  109. depends on BR2_USE_MMU
  110. depends on !BR2_TOOLCHAIN_USES_GLIBC || \
  111. !BR2_TOOLCHAIN_HAS_SSP || \
  112. !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15 || \
  113. !BR2_TOOLCHAIN_GCC_AT_LEAST_5 || \
  114. !BR2_HOST_GCC_AT_LEAST_5
  115. comment "systemd highly recommends Linux >= 4.15"
  116. depends on BR2_INIT_SYSTEMD
  117. depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15
  118. config BR2_INIT_NONE
  119. bool "None"
  120. select BR2_PACKAGE_SKELETON_INIT_NONE if BR2_ROOTFS_SKELETON_DEFAULT
  121. help
  122. Buildroot will not install any init system. You will
  123. have to provide your own, either with a new package
  124. or with a rootfs-overlay.
  125. # Init systems from br2-external trees, if any
  126. source "$BR2_BASE_DIR/.br2-external.in.init"
  127. endchoice
  128. if BR2_INIT_SYSTEMD
  129. config BR2_INIT_SYSTEMD_VAR_FACTORY
  130. bool "build a factory to populate a tmpfs on /var"
  131. default y # legacy
  132. depends on !BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW
  133. help
  134. Build a factory of the content of /var as installed by
  135. packages, mount a tmpfs on /var at runtime, so that
  136. systemd-tmpfiles can populate it from the factory.
  137. This may help on a read-only rootfs.
  138. It probably does not play very well with triggering a call
  139. to systemd-tmpfiles at build time (below).
  140. Note: Buildroot mounts a tmpfs on /var to at least make the
  141. system bootable out of the box; mounting a filesystem from
  142. actual storage is left to the integration, as it is too
  143. specific and may need preparatory work like partitionning a
  144. device and/or formatting a filesystem first, so that falls
  145. out of the scope of Buildroot.
  146. To use persistent storage, provide a systemd dropin for the
  147. var.mount unit, that overrides the What and Type, and possibly
  148. the Options and After, fields.
  149. config BR2_INIT_SYSTEMD_POPULATE_TMPFILES
  150. bool "trigger systemd-tmpfiles during build"
  151. default y # legacy
  152. help
  153. Act on the systemd-tmpfiles.d database at build time, when
  154. assembling the root filesystems.
  155. This may help on a read-only filesystem.
  156. It probably does not play very well with the /var factory
  157. (above).
  158. config BR2_PACKAGE_SYSTEMD_DEFAULT_TARGET
  159. string "The default unit systemd starts at bootup"
  160. default "multi-user.target"
  161. help
  162. Specify the name of the unit configuration file to be started
  163. at bootup by systemd. Should end in ".target".
  164. ex: multi-user.target
  165. https://www.freedesktop.org/software/systemd/man/systemd.special.html#default.target
  166. endif # BR2_INIT_SYSTEMD
  167. choice
  168. prompt "/dev management" if !BR2_INIT_SYSTEMD
  169. default BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS
  170. config BR2_ROOTFS_DEVICE_CREATION_STATIC
  171. bool "Static using device table"
  172. config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS
  173. bool "Dynamic using devtmpfs only"
  174. config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV
  175. bool "Dynamic using devtmpfs + mdev"
  176. select BR2_PACKAGE_BUSYBOX
  177. config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV
  178. bool "Dynamic using devtmpfs + eudev"
  179. depends on BR2_USE_WCHAR # eudev
  180. depends on !BR2_STATIC_LIBS
  181. depends on BR2_USE_MMU # eudev
  182. select BR2_PACKAGE_EUDEV
  183. comment "eudev needs a toolchain w/ wchar, dynamic library"
  184. depends on BR2_USE_MMU
  185. depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS
  186. endchoice
  187. comment "/dev management using udev (from systemd)"
  188. depends on BR2_INIT_SYSTEMD
  189. config BR2_ROOTFS_DEVICE_TABLE
  190. string "Path to the permission tables"
  191. default "system/device_table.txt"
  192. help
  193. Specify a space-separated list of permission table locations,
  194. that will be passed to the makedevs utility to assign
  195. correct owners and permissions on various files in the
  196. target filesystem.
  197. See package/makedevs/README for details on the usage and
  198. syntax of these files.
  199. config BR2_ROOTFS_STATIC_DEVICE_TABLE
  200. string "Path to the device tables"
  201. default "system/device_table_dev.txt"
  202. depends on BR2_ROOTFS_DEVICE_CREATION_STATIC
  203. help
  204. Specify a space-separated list of device table locations,
  205. that will be passed to the makedevs utility to create all
  206. the special device files under /dev.
  207. See package/makedevs/README for details on the usage and
  208. syntax of these files.
  209. config BR2_ROOTFS_DEVICE_TABLE_SUPPORTS_EXTENDED_ATTRIBUTES
  210. bool "support extended attributes in device tables"
  211. help
  212. Support extended attributes handling in device tables
  213. config BR2_ROOTFS_MERGED_USR
  214. bool "Use symlinks to /usr for /bin, /sbin and /lib"
  215. help
  216. If you say 'n' here, then /bin, /sbin and /lib and their
  217. counterparts in /usr will be separate directories. This
  218. is the historical UNIX way. In this case, /usr can be a
  219. filesystem on a partition separate from / .
  220. If you say 'y' here, then /bin, /sbin and /lib will be
  221. symlinks to their counterparts in /usr. In this case, /usr can
  222. not be a separate filesystem.
  223. if BR2_ROOTFS_SKELETON_DEFAULT
  224. config BR2_TARGET_ENABLE_ROOT_LOGIN
  225. bool "Enable root login with password"
  226. default y
  227. select BR2_PACKAGE_HOST_MKPASSWD if BR2_TARGET_GENERIC_ROOT_PASSWD != ""
  228. help
  229. Allow root to log in with a password.
  230. If not enabled, root will not be able to log in with a
  231. password. However, if you have an ssh server and you add an
  232. ssh key, you can still allow root to log in. Alternatively,
  233. you can use sudo to become root.
  234. config BR2_TARGET_GENERIC_ROOT_PASSWD
  235. string "Root password"
  236. default ""
  237. depends on BR2_TARGET_ENABLE_ROOT_LOGIN
  238. help
  239. Set the initial root password.
  240. If set to empty (the default), then no root password will be
  241. set, and root will need no password to log in.
  242. If the password starts with any of $1$, $5$ or $6$, it is
  243. considered to be already crypt-encoded with respectively md5,
  244. sha256 or sha512. Any other value is taken to be a clear-text
  245. value, and is crypt-encoded as per the "Passwords encoding"
  246. scheme, above.
  247. Note: "$" signs in the hashed password must be doubled. For
  248. example, if the hashed password is
  249. "$1$longsalt$v35DIIeMo4yUfI23yditq0", then you must enter it
  250. as "$$1$$longsalt$$v35DIIeMo4yUfI23yditq0" (this is necessary
  251. otherwise make would attempt to interpret the $ as a variable
  252. expansion).
  253. WARNING! WARNING!
  254. The password appears as-is in the .config file, and may appear
  255. in the build log! Avoid using a valuable password if either
  256. the .config file or the build log may be distributed, or at
  257. the very least use a strong cryptographic hash for your
  258. password!
  259. choice
  260. bool "/bin/sh"
  261. default BR2_SYSTEM_BIN_SH_DASH if !BR2_PACKAGE_BUSYBOX
  262. help
  263. Select which shell will provide /bin/sh.
  264. # busybox has shells that work on noMMU
  265. config BR2_SYSTEM_BIN_SH_BUSYBOX
  266. bool "busybox' default shell"
  267. depends on BR2_PACKAGE_BUSYBOX
  268. config BR2_SYSTEM_BIN_SH_BASH
  269. bool "bash"
  270. depends on BR2_USE_MMU # bash
  271. depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
  272. select BR2_PACKAGE_BASH
  273. config BR2_SYSTEM_BIN_SH_DASH
  274. bool "dash"
  275. depends on BR2_USE_MMU # dash
  276. depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
  277. select BR2_PACKAGE_DASH
  278. config BR2_SYSTEM_BIN_SH_MKSH
  279. bool "mksh"
  280. depends on BR2_USE_MMU # mksh
  281. depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
  282. select BR2_PACKAGE_MKSH
  283. config BR2_SYSTEM_BIN_SH_ZSH
  284. bool "zsh"
  285. depends on BR2_USE_MMU # zsh
  286. depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
  287. select BR2_PACKAGE_ZSH
  288. comment "bash, dash, mksh, zsh need BR2_PACKAGE_BUSYBOX_SHOW_OTHERS"
  289. depends on !BR2_PACKAGE_BUSYBOX_SHOW_OTHERS && BR2_PACKAGE_BUSYBOX
  290. config BR2_SYSTEM_BIN_SH_NONE
  291. bool "none"
  292. endchoice # /bin/sh
  293. config BR2_SYSTEM_BIN_SH
  294. string
  295. default "bash" if BR2_SYSTEM_BIN_SH_BASH
  296. default "dash" if BR2_SYSTEM_BIN_SH_DASH
  297. default "mksh" if BR2_SYSTEM_BIN_SH_MKSH
  298. default "zsh" if BR2_SYSTEM_BIN_SH_ZSH
  299. menuconfig BR2_TARGET_GENERIC_GETTY
  300. bool "Run a getty (login prompt) after boot"
  301. default y
  302. if BR2_TARGET_GENERIC_GETTY
  303. config BR2_TARGET_GENERIC_GETTY_PORT
  304. string "TTY port"
  305. default "console"
  306. help
  307. Specify a port to run a getty on.
  308. choice
  309. prompt "Baudrate"
  310. default BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP
  311. help
  312. Select a baudrate to use.
  313. config BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP
  314. bool "keep kernel default"
  315. config BR2_TARGET_GENERIC_GETTY_BAUDRATE_9600
  316. bool "9600"
  317. config BR2_TARGET_GENERIC_GETTY_BAUDRATE_19200
  318. bool "19200"
  319. config BR2_TARGET_GENERIC_GETTY_BAUDRATE_38400
  320. bool "38400"
  321. config BR2_TARGET_GENERIC_GETTY_BAUDRATE_57600
  322. bool "57600"
  323. config BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200
  324. bool "115200"
  325. endchoice
  326. config BR2_TARGET_GENERIC_GETTY_BAUDRATE
  327. string
  328. default "0" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP
  329. default "9600" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_9600
  330. default "19200" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_19200
  331. default "38400" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_38400
  332. default "57600" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_57600
  333. default "115200" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200
  334. config BR2_TARGET_GENERIC_GETTY_TERM
  335. string "TERM environment variable"
  336. default "vt100"
  337. # currently observed by all but systemd
  338. depends on !BR2_INIT_SYSTEMD
  339. help
  340. Specify a TERM type.
  341. config BR2_TARGET_GENERIC_GETTY_OPTIONS
  342. string "other options to pass to getty"
  343. default ""
  344. # currently observed by all but systemd
  345. depends on !BR2_INIT_SYSTEMD
  346. help
  347. Any other flags you want to pass to getty,
  348. Refer to getty --help for details.
  349. endif
  350. config BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW
  351. bool "remount root filesystem read-write during boot"
  352. default y
  353. help
  354. The root filesystem is typically mounted read-only at boot.
  355. By default, buildroot remounts it in read-write mode early
  356. during the boot process.
  357. Say no here if you would rather like your root filesystem to
  358. remain read-only.
  359. If unsure, say Y.
  360. config BR2_SYSTEM_DHCP
  361. string "Network interface to configure through DHCP"
  362. default ""
  363. depends on BR2_PACKAGE_BUSYBOX || BR2_PACKAGE_IFUPDOWN || \
  364. BR2_PACKAGE_SYSTEMD_NETWORKD || BR2_PACKAGE_NETIFRC
  365. help
  366. Enter here the name of the network interface (E.G. eth0) to
  367. automatically configure through DHCP at bootup.
  368. If left empty, no automatic DHCP requests will take place.
  369. For more complicated network setups use an overlay to
  370. overwrite /etc/network/interfaces or add a networkd
  371. configuration file.
  372. comment "automatic network configuration via DHCP needs ifupdown or busybox or networkd or netifrc"
  373. depends on !(BR2_PACKAGE_BUSYBOX || BR2_PACKAGE_IFUPDOWN || \
  374. BR2_PACKAGE_SYSTEMD_NETWORKD || BR2_PACKAGE_NETIFRC)
  375. endif # BR2_ROOTFS_SKELETON_DEFAULT
  376. config BR2_SYSTEM_DEFAULT_PATH
  377. string "Set the system's default PATH"
  378. default "/usr/bin:/usr/sbin" if BR2_ROOTFS_MERGED_USR
  379. default "/bin:/sbin:/usr/bin:/usr/sbin" if !BR2_ROOTFS_MERGED_USR
  380. help
  381. Sets the system's default PATH. It is being used in
  382. /etc/profile in the skeleton-init-common package and by some
  383. daemons.
  384. The default should work in most cases.
  385. config BR2_ENABLE_LOCALE_PURGE
  386. bool "Purge unwanted locales"
  387. default y
  388. help
  389. Explicitly specify what locales to install on target. If N
  390. then all locales supported by packages are installed.
  391. config BR2_ENABLE_LOCALE_WHITELIST
  392. string "Locales to keep"
  393. default "C en_US"
  394. depends on BR2_ENABLE_LOCALE_PURGE
  395. help
  396. Whitespace separated list of locales to allow on target.
  397. Locales not listed here will be removed from the target.
  398. See 'locale -a' on your host for a list of locales available
  399. on your build host, or have a look in /usr/share/locale in
  400. the target file system for available locales.
  401. Notice that listing a locale here doesn't guarantee that it
  402. will be available on the target - That purely depends on the
  403. support for that locale in the selected packages.
  404. config BR2_GENERATE_LOCALE
  405. string "Generate locale data"
  406. default ""
  407. depends on \
  408. (BR2_TOOLCHAIN_BUILDROOT_UCLIBC && BR2_ENABLE_LOCALE) || \
  409. BR2_TOOLCHAIN_USES_GLIBC
  410. help
  411. Generate support for a list of locales. Locales can be
  412. specified with or without encoding, when no encoding is
  413. specified, UTF-8 is assumed. Examples of locales: en_US,
  414. fr_FR.UTF-8.
  415. config BR2_SYSTEM_ENABLE_NLS
  416. bool "Enable Native Language Support (NLS)"
  417. depends on BR2_USE_WCHAR
  418. # - glibc has built-in NLS support, but anyway doesn't
  419. # support static linking
  420. # - musl and uclibc support static linking, but they don't
  421. # have built-in NLS support, which is provided by the
  422. # libintl library from gettext. The fact that it is a
  423. # separate library causes too many problems for static
  424. # linking.
  425. depends on !BR2_STATIC_LIBS
  426. select BR2_PACKAGE_GETTEXT if !BR2_TOOLCHAIN_HAS_FULL_GETTEXT
  427. help
  428. This option will enable Native Language Support, which will
  429. allow software packages to support translations.
  430. comment "NLS support needs a toolchain w/ wchar, dynamic library"
  431. depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS
  432. config BR2_TARGET_TZ_INFO
  433. bool "Install timezone info"
  434. select BR2_PACKAGE_TZDATA if BR2_TOOLCHAIN_USES_GLIBC
  435. select BR2_PACKAGE_TZDATA if BR2_TOOLCHAIN_USES_MUSL
  436. select BR2_PACKAGE_TZ if BR2_TOOLCHAIN_USES_UCLIBC
  437. help
  438. Say 'y' here to install timezone info.
  439. if BR2_TARGET_TZ_INFO
  440. config BR2_TARGET_TZ_ZONELIST
  441. string "timezone list"
  442. default "default"
  443. help
  444. Space-separated list of time zones to compile.
  445. The value "default" includes all commonly used time zones.
  446. Note that this set consumes around 5.5M for glibc and 2.1M for
  447. uClibc.
  448. The full list is the list of files in the time zone database
  449. source, not including the build and .tab files.
  450. config BR2_TARGET_LOCALTIME
  451. string "default local time"
  452. default "Etc/UTC"
  453. help
  454. The time zone to install as the default local time, expressed
  455. as a tzdata location, such as:
  456. Etc/UTC (the default)
  457. GMT
  458. Europe/Paris
  459. America/New_York
  460. Pacific/Wallis
  461. ...
  462. Set to empty to not install a default time zone.
  463. endif # BR2_TARGET_TZ_INFO
  464. config BR2_ROOTFS_USERS_TABLES
  465. string "Path to the users tables"
  466. help
  467. Specify a space-separated list of users table locations,
  468. that will be passed to the mkusers utility to create
  469. users on the system, with home directory, password, etc.
  470. See manual for details on the usage and syntax of these files.
  471. config BR2_ROOTFS_OVERLAY
  472. string "Root filesystem overlay directories"
  473. default ""
  474. help
  475. Specify a list of directories that are copied over the target
  476. root filesystem after the build has finished and before it is
  477. packed into the selected filesystem images.
  478. They are copied as-is into the rootfs, excluding files ending
  479. with ~ and .git, .svn and .hg directories.
  480. config BR2_ROOTFS_PRE_BUILD_SCRIPT
  481. string "Custom scripts to run before commencing the build"
  482. default ""
  483. help
  484. Specify a space-separated list of scripts to be run before the
  485. build commences.
  486. This gives users the opportunity to do board-specific
  487. preparations before starting the build.
  488. config BR2_ROOTFS_POST_BUILD_SCRIPT
  489. string "Custom scripts to run before creating filesystem images"
  490. default ""
  491. help
  492. Specify a space-separated list of scripts to be run after the
  493. build has finished and before Buildroot starts packing the
  494. files into selected filesystem images.
  495. This gives users the opportunity to do board-specific
  496. cleanups, add-ons and the like, so the generated files can be
  497. used directly without further processing.
  498. These scripts are called with the target directory name as
  499. first argument. Make sure the exit code of those scripts are
  500. 0, otherwise make will stop after calling them.
  501. config BR2_ROOTFS_POST_FAKEROOT_SCRIPT
  502. string "Custom scripts to run inside the fakeroot environment"
  503. default ""
  504. help
  505. Specify a space-separated list of scripts to be run at the end
  506. of the fakeroot script right before the image(s) are actually
  507. generated.
  508. This gives users the opportunity to do customisations of the
  509. content of the rootfs, which would otherwise require root
  510. rights.
  511. These scripts are called with the target directory name as
  512. first argument. The build will fail on the first scripts that
  513. exits with a non-zero exit code.
  514. Note that Buildroot already provides mechanisms to customise
  515. the content of the rootfs:
  516. - BR2_ROOTFS_STATIC_DEVICE_TABLE
  517. to create arbitrary entries statically in /dev
  518. - BR2_ROOTFS_DEVICE_TABLE
  519. to set arbitrary permissions as well as extended
  520. attributes (such as capabilities) on files and
  521. directories,
  522. - BR2_ROOTFS_USERS_TABLES:
  523. to create arbitrary users and their home directories
  524. It is highly recommended to use those mechanisms if possible,
  525. rather than using custom fakeroot scripts.
  526. config BR2_ROOTFS_POST_IMAGE_SCRIPT
  527. string "Custom scripts to run after creating filesystem images"
  528. default ""
  529. help
  530. Specify a space-separated list of scripts to be run after
  531. the build has finished and after Buildroot has packed the
  532. files into selected filesystem images.
  533. This can for example be used to call a tool building a
  534. firmware image from different images generated by Buildroot,
  535. or automatically extract the tarball root filesystem image
  536. into some location exported by NFS, or any other custom
  537. action.
  538. These scripts are called with the images directory name as
  539. first argument. The script is executed from the main Buildroot
  540. source directory as the current directory.
  541. config BR2_ROOTFS_POST_SCRIPT_ARGS
  542. string "Extra arguments passed to custom scripts"
  543. depends on BR2_ROOTFS_POST_BUILD_SCRIPT != "" \
  544. || BR2_ROOTFS_POST_FAKEROOT_SCRIPT != "" \
  545. || BR2_ROOTFS_POST_IMAGE_SCRIPT != ""
  546. help
  547. Pass these additional arguments to each post-build or
  548. post-image scripts.
  549. Note that all the post-build and post-image scripts will be
  550. passed the same set of arguments, you can not pass different
  551. arguments to each script.
  552. Note also, as stated in their respective help text, that the
  553. first argument to each post-build or post-image script is the
  554. target directory / images directory. The arguments in this
  555. option will be passed *after* those.
  556. endmenu