2
1

Config.in 21 KB

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