Config.in 19 KB

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