Config.in 19 KB

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