Config.in 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728
  1. #
  2. mainmenu "Buildroot $BR2_VERSION Configuration"
  3. config BR2_HAVE_DOT_CONFIG
  4. bool
  5. default y
  6. config BR2_VERSION
  7. string
  8. option env="BR2_VERSION_FULL"
  9. config BR2_HOSTARCH
  10. string
  11. option env="HOSTARCH"
  12. config BR2_BUILD_DIR
  13. string
  14. option env="BUILD_DIR"
  15. # Hidden config symbols for packages to check system gcc version
  16. config BR2_HOST_GCC_VERSION
  17. string
  18. option env="HOST_GCC_VERSION"
  19. config BR2_HOST_GCC_AT_LEAST_4_6
  20. bool
  21. default y if BR2_HOST_GCC_VERSION = "4 6"
  22. config BR2_HOST_GCC_AT_LEAST_4_7
  23. bool
  24. default y if BR2_HOST_GCC_VERSION = "4 7"
  25. select BR2_HOST_GCC_AT_LEAST_4_6
  26. config BR2_HOST_GCC_AT_LEAST_4_8
  27. bool
  28. default y if BR2_HOST_GCC_VERSION = "4 8"
  29. select BR2_HOST_GCC_AT_LEAST_4_7
  30. config BR2_HOST_GCC_AT_LEAST_4_9
  31. bool
  32. default y if BR2_HOST_GCC_VERSION = "4 9"
  33. select BR2_HOST_GCC_AT_LEAST_4_8
  34. config BR2_HOST_GCC_AT_LEAST_5
  35. bool
  36. default y if BR2_HOST_GCC_VERSION = "5"
  37. select BR2_HOST_GCC_AT_LEAST_4_9
  38. config BR2_HOST_GCC_AT_LEAST_6
  39. bool
  40. default y if BR2_HOST_GCC_VERSION = "6"
  41. select BR2_HOST_GCC_AT_LEAST_5
  42. # Hidden boolean selected by packages in need of Java in order to build
  43. # (example: xbmc)
  44. config BR2_NEEDS_HOST_JAVA
  45. bool
  46. # Hidden boolean selected by packages in need of javac in order to build
  47. # (example: classpath)
  48. config BR2_NEEDS_HOST_JAVAC
  49. bool
  50. # Hidden boolean selected by packages in need of jar in order to build
  51. # (example: classpath)
  52. config BR2_NEEDS_HOST_JAR
  53. bool
  54. # Hidden boolean selected by pre-built packages for x86, when they
  55. # need to run on x86-64 machines (example: pre-built external
  56. # toolchains, binary tools like SAM-BA, etc.).
  57. config BR2_HOSTARCH_NEEDS_IA32_LIBS
  58. bool
  59. # Hidden boolean selected by packages that need to build 32 bits
  60. # binaries with the host compiler, even on 64 bits build machines (e.g
  61. # bootloaders).
  62. config BR2_HOSTARCH_NEEDS_IA32_COMPILER
  63. bool
  64. source "arch/Config.in"
  65. menu "Build options"
  66. menu "Commands"
  67. config BR2_WGET
  68. string "Wget command"
  69. default "wget --passive-ftp -nd -t 3"
  70. config BR2_SVN
  71. string "Subversion (svn) command"
  72. default "svn"
  73. config BR2_BZR
  74. string "Bazaar (bzr) command"
  75. default "bzr"
  76. config BR2_GIT
  77. string "Git command"
  78. default "git"
  79. config BR2_CVS
  80. string "CVS command"
  81. default "cvs"
  82. config BR2_LOCALFILES
  83. string "Local files retrieval command"
  84. default "cp"
  85. config BR2_SCP
  86. string "Secure copy (scp) command"
  87. default "scp"
  88. config BR2_SSH
  89. string "Secure shell (ssh) command"
  90. default "ssh"
  91. config BR2_HG
  92. string "Mercurial (hg) command"
  93. default "hg"
  94. config BR2_ZCAT
  95. string "zcat command"
  96. default "gzip -d -c"
  97. help
  98. Command to be used to extract a gzip'ed file to stdout. zcat
  99. is identical to gunzip -c except that the former may not be
  100. available on your system.
  101. Default is "gzip -d -c"
  102. Other possible values include "gunzip -c" or "zcat".
  103. config BR2_BZCAT
  104. string "bzcat command"
  105. default "bzcat"
  106. help
  107. Command to be used to extract a bzip2'ed file to stdout.
  108. bzcat is identical to bunzip2 -c except that the former may
  109. not be available on your system.
  110. Default is "bzcat"
  111. Other possible values include "bunzip2 -c" or "bzip2 -d -c".
  112. config BR2_XZCAT
  113. string "xzcat command"
  114. default "xzcat"
  115. help
  116. Command to be used to extract a xz'ed file to stdout.
  117. Default is "xzcat"
  118. config BR2_TAR_OPTIONS
  119. string "Tar options"
  120. default ""
  121. help
  122. Options to pass to tar when extracting the sources.
  123. E.g. " -v --exclude='*.svn*'" to exclude all .svn internal files
  124. and to be verbose.
  125. endmenu
  126. config BR2_DEFCONFIG_FROM_ENV
  127. string
  128. option env="BR2_DEFCONFIG"
  129. config BR2_DEFCONFIG
  130. string "Location to save buildroot config"
  131. default BR2_DEFCONFIG_FROM_ENV if BR2_DEFCONFIG_FROM_ENV != ""
  132. default "$(CONFIG_DIR)/defconfig"
  133. help
  134. When running 'make savedefconfig', the defconfig file will be
  135. saved in this location.
  136. config BR2_DL_DIR
  137. string "Download dir"
  138. default "$(TOPDIR)/dl"
  139. help
  140. Directory to store all the source files that we need to fetch.
  141. If the Linux shell environment has defined the BR2_DL_DIR
  142. environment variable, then this overrides this configuration
  143. item.
  144. The default is $(TOPDIR)/dl
  145. config BR2_HOST_DIR
  146. string "Host dir"
  147. default "$(BASE_DIR)/host"
  148. help
  149. Directory to store all the binary files that are built for the
  150. host. This includes the cross compilation toolchain when
  151. building the internal buildroot toolchain.
  152. The default is $(BASE_DIR)/host
  153. menu "Mirrors and Download locations"
  154. config BR2_PRIMARY_SITE
  155. string "Primary download site"
  156. default ""
  157. help
  158. Primary site to download from. If this option is set then
  159. buildroot will try to download package source first from this
  160. site and try the default if the file is not found.
  161. Valid URIs are:
  162. - URIs recognized by $(WGET)
  163. - local URIs of the form file://absolutepath
  164. - scp URIs of the form scp://[user@]host:path.
  165. config BR2_PRIMARY_SITE_ONLY
  166. bool "Only allow downloads from primary download site"
  167. depends on BR2_PRIMARY_SITE != ""
  168. help
  169. If this option is enabled, downloads will only be attempted
  170. from the primary download site. Other locations, like the
  171. package's official download location or the backup download
  172. site, will not be considered. Therefore, if the package is not
  173. present on the primary site, the download fails.
  174. This is useful for project developers who want to ensure that
  175. the project can be built even if the upstream tarball
  176. locations disappear.
  177. if !BR2_PRIMARY_SITE_ONLY
  178. config BR2_BACKUP_SITE
  179. string "Backup download site"
  180. default "http://sources.buildroot.net"
  181. help
  182. Backup site to download from. If this option is set then
  183. buildroot will fall back to download package sources from here
  184. if the normal location fails.
  185. config BR2_KERNEL_MIRROR
  186. string "Kernel.org mirror"
  187. default "https://cdn.kernel.org/pub"
  188. help
  189. kernel.org is mirrored on a number of servers around the
  190. world. The following allows you to select your preferred
  191. mirror. By default, a CDN is used, which automatically
  192. redirects to a mirror geographically close to you.
  193. Have a look on the kernel.org site for a list of mirrors, then
  194. enter the URL to the base directory. Examples:
  195. http://www.XX.kernel.org/pub (XX = country code)
  196. http://mirror.aarnet.edu.au/pub/ftp.kernel.org
  197. config BR2_GNU_MIRROR
  198. string "GNU Software mirror"
  199. default "http://ftpmirror.gnu.org"
  200. help
  201. GNU has multiple software mirrors scattered around the
  202. world. The following allows you to select your preferred
  203. mirror. By default, a generic address is used, which
  204. automatically selects an up-to-date and local mirror.
  205. Have a look on the gnu.org site for a list of mirrors, then
  206. enter the URL to the base directory. Examples:
  207. http://ftp.gnu.org/pub/gnu
  208. http://mirror.aarnet.edu.au/pub/gnu
  209. config BR2_LUAROCKS_MIRROR
  210. string "LuaRocks mirror"
  211. default "http://rocks.moonscript.org"
  212. help
  213. LuaRocks repository.
  214. See http://luarocks.org
  215. config BR2_CPAN_MIRROR
  216. string "CPAN mirror (Perl packages)"
  217. default "http://cpan.metacpan.org"
  218. help
  219. CPAN (Comprehensive Perl Archive Network) is a repository of
  220. Perl packages. It has multiple software mirrors scattered
  221. around the world. This option allows you to select a mirror.
  222. The list of mirrors is available at:
  223. http://search.cpan.org/mirror
  224. endif
  225. endmenu
  226. config BR2_JLEVEL
  227. int "Number of jobs to run simultaneously (0 for auto)"
  228. default "0"
  229. help
  230. Number of jobs to run simultaneously. If 0, determine
  231. automatically according to number of CPUs on the host system.
  232. config BR2_CCACHE
  233. bool "Enable compiler cache"
  234. help
  235. This option will enable the use of ccache, a compiler cache.
  236. It will cache the result of previous builds to speed up future
  237. builds. By default, the cache is stored in
  238. $HOME/.buildroot-ccache.
  239. Note that Buildroot does not try to invalidate the cache
  240. contents when the compiler changes in an incompatible way.
  241. Therefore, if you make a change to the compiler version and/or
  242. configuration, you are responsible for purging the ccache
  243. cache by removing the $HOME/.buildroot-ccache directory.
  244. if BR2_CCACHE
  245. config BR2_CCACHE_DIR
  246. string "Compiler cache location"
  247. default "$(HOME)/.buildroot-ccache"
  248. help
  249. Where ccache should store cached files.
  250. config BR2_CCACHE_INITIAL_SETUP
  251. string "Compiler cache initial setup"
  252. help
  253. Initial ccache settings to apply, such as --max-files or
  254. --max-size.
  255. For example, if your project is known to require more space
  256. than the default max cache size, then you might want to
  257. increase the cache size to a suitable amount using the -M
  258. (--max-size) option.
  259. The string you specify here is passed verbatim to ccache.
  260. Refer to ccache documentation for more details.
  261. These initial settings are applied after ccache has been
  262. compiled.
  263. config BR2_CCACHE_USE_BASEDIR
  264. bool "Use relative paths"
  265. default y
  266. help
  267. Allow ccache to convert absolute paths within the output
  268. directory into relative paths.
  269. During the build, many -I include directives are given with an
  270. absolute path. These absolute paths end up in the hashes that
  271. are computed by ccache. Therefore, when you build from a
  272. different directory, the hash will be different and the cached
  273. object will not be used.
  274. To improve cache performance, set this option to y. This
  275. allows ccache to rewrite absolute paths within the output
  276. directory into relative paths. Note that only paths within the
  277. output directory will be rewritten; therefore, if you change
  278. BR2_HOST_DIR to point outside the output directory and
  279. subsequently move it to a different location, this will lead
  280. to cache misses.
  281. This option has as a result that the debug information in the
  282. object files also has only relative paths. Therefore, make
  283. sure you cd to the build directory before starting gdb. See
  284. the section "COMPILING IN DIFFERENT DIRECTORIES" in the ccache
  285. manual for more information.
  286. endif
  287. config BR2_ENABLE_DEBUG
  288. bool "build packages with debugging symbols"
  289. help
  290. Build packages with debugging symbols enabled. All libraries
  291. and binaries in the 'staging' directory will have debugging
  292. symbols, which allows remote debugging even if libraries and
  293. binaries are stripped on the target. Whether libraries and
  294. binaries are stripped on the target is controlled by the
  295. BR2_STRIP_* options below.
  296. if BR2_ENABLE_DEBUG
  297. choice
  298. prompt "gcc debug level"
  299. default BR2_DEBUG_2
  300. help
  301. Set the debug level for gcc
  302. config BR2_DEBUG_1
  303. bool "debug level 1"
  304. help
  305. Debug level 1 produces minimal information, enough for making
  306. backtraces in parts of the program that you don't plan to
  307. debug. This includes descriptions of functions and external
  308. variables, but no information about local variables and no
  309. line numbers.
  310. config BR2_DEBUG_2
  311. bool "debug level 2"
  312. help
  313. The default gcc debug level is 2
  314. config BR2_DEBUG_3
  315. bool "debug level 3"
  316. help
  317. Level 3 includes extra information, such as all the macro
  318. definitions present in the program. Some debuggers support
  319. macro expansion when you use -g3.
  320. endchoice
  321. endif
  322. choice
  323. prompt "strip command for binaries on target"
  324. default BR2_STRIP_strip
  325. config BR2_STRIP_strip
  326. bool "strip"
  327. depends on !BR2_PACKAGE_HOST_ELF2FLT
  328. help
  329. Binaries and libraries in the target filesystem will be
  330. stripped using the normal 'strip' command. This allows to save
  331. space, mainly by removing debugging symbols. Debugging symbols
  332. on the target are needed for native debugging, but not when
  333. remote debugging is used.
  334. config BR2_STRIP_none
  335. bool "none"
  336. help
  337. Do not strip binaries and libraries in the target filesystem.
  338. endchoice
  339. config BR2_STRIP_EXCLUDE_FILES
  340. string "executables that should not be stripped"
  341. depends on !BR2_STRIP_none
  342. default ""
  343. help
  344. You may specify a space-separated list of binaries and
  345. libraries here that should not be stripped on the target.
  346. config BR2_STRIP_EXCLUDE_DIRS
  347. string "directories that should be skipped when stripping"
  348. depends on !BR2_STRIP_none
  349. default ""
  350. help
  351. You may specify a space-separated list of directories that
  352. should be skipped when stripping. Binaries and libraries in
  353. these directories will not be touched. The directories should
  354. be specified relative to the target directory, without leading
  355. slash.
  356. choice
  357. prompt "gcc optimization level"
  358. default BR2_OPTIMIZE_S
  359. help
  360. Set the optimization level for gcc
  361. config BR2_OPTIMIZE_0
  362. bool "optimization level 0"
  363. help
  364. Do not optimize. This is the default.
  365. config BR2_OPTIMIZE_1
  366. bool "optimization level 1"
  367. help
  368. Optimize. Optimizing compilation takes somewhat more time, and
  369. a lot more memory for a large function. With -O, the compiler
  370. tries to reduce code size and execution time, without
  371. performing any optimizations that take a great deal of
  372. compilation time. -O turns on the following optimization
  373. flags: -fdefer-pop -fdelayed-branch -fguess-branch-probability
  374. -fcprop-registers -floop-optimize -fif-conversion
  375. -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts
  376. -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename
  377. -ftree-fre -ftree-ch -funit-at-a-time -fmerge-constants. -O
  378. also turns on -fomit-frame-pointer on machines where doing so
  379. does not interfere with debugging.
  380. config BR2_OPTIMIZE_2
  381. bool "optimization level 2"
  382. help
  383. Optimize even more. GCC performs nearly all supported
  384. optimizations that do not involve a space-speed tradeoff. The
  385. compiler does not perform loop unrolling or function inlining
  386. when you specify -O2. As compared to -O, this option increases
  387. both compilation time and the performance of the generated
  388. code. -O2 turns on all optimization flags specified by -O. It
  389. also turns on the following optimization flags:
  390. -fthread-jumps -fcrossjumping -foptimize-sibling-calls
  391. -fcse-follow-jumps -fcse-skip-blocks -fgcse -fgcse-lm
  392. -fexpensive-optimizations -fstrength-reduce
  393. -frerun-cse-after-loop -frerun-loop-opt -fcaller-saves
  394. -fpeephole2 -fschedule-insns -fschedule-insns2
  395. -fsched-interblock -fsched-spec -fregmove -fstrict-aliasing
  396. -fdelete-null-pointer-checks -freorder-blocks
  397. -freorder-functions -falign-functions -falign-jumps
  398. -falign-loops -falign-labels -ftree-vrp -ftree-pre. Please
  399. note the warning under -fgcse about invoking -O2 on programs
  400. that use computed gotos.
  401. config BR2_OPTIMIZE_3
  402. bool "optimization level 3"
  403. help
  404. Optimize yet more. -O3 turns on all optimizations specified by
  405. -O2 and also turns on the -finline-functions, -funswitch-loops
  406. and -fgcse-after-reload options.
  407. config BR2_OPTIMIZE_G
  408. bool "optimize for debugging"
  409. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
  410. help
  411. Optimize for debugging. This enables optimizations that do not
  412. interfere with debugging. It should be the optimization level
  413. of choice for the standard edit-compile-debug cycle, offering
  414. a reasonable level of optimization while maintaining fast
  415. compilation and a good debugging experience.
  416. config BR2_OPTIMIZE_S
  417. bool "optimize for size"
  418. help
  419. Optimize for size. -Os enables all -O2 optimizations that do
  420. not typically increase code size. It also performs further
  421. optimizations designed to reduce code size. -Os disables the
  422. following optimization flags: -falign-functions -falign-jumps
  423. -falign-loops -falign-labels -freorder-blocks
  424. -freorder-blocks-and-partition -fprefetch-loop-arrays
  425. -ftree-vect-loop-version
  426. endchoice
  427. config BR2_GOOGLE_BREAKPAD_ENABLE
  428. bool "Enable google-breakpad support"
  429. select BR2_PACKAGE_GOOGLE_BREAKPAD
  430. depends on BR2_INSTALL_LIBSTDCPP
  431. depends on BR2_USE_WCHAR
  432. depends on BR2_TOOLCHAIN_HAS_THREADS
  433. depends on (BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC)
  434. depends on BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS
  435. help
  436. This option will enable the use of google breakpad, a library
  437. and tool suite that allows you to distribute an application to
  438. users with compiler-provided debugging information removed,
  439. record crashes in compact "minidump" files, send them back to
  440. your server and produce C and C++ stack traces from these
  441. minidumps. Breakpad can also write minidumps on request for
  442. programs that have not crashed.
  443. if BR2_GOOGLE_BREAKPAD_ENABLE
  444. config BR2_GOOGLE_BREAKPAD_INCLUDE_FILES
  445. string "List of executables and libraries to extract symbols from"
  446. default ""
  447. help
  448. You may specify a space-separated list of binaries and
  449. libraries with full paths relative to $(TARGET_DIR) of which
  450. debug symbols will be dumped for further use with google
  451. breakpad.
  452. A directory structure that can be used by minidump-stackwalk
  453. will be created at:
  454. $(STAGING_DIR)/usr/share/google-breakpad-symbols
  455. endif
  456. choice
  457. bool "build code with Stack Smashing Protection"
  458. default BR2_SSP_ALL if BR2_ENABLE_SSP # legacy
  459. depends on BR2_TOOLCHAIN_HAS_SSP
  460. help
  461. Enable stack smashing protection support using GCC's
  462. -fstack-protector option family.
  463. See
  464. http://www.linuxfromscratch.org/hints/downloads/files/ssp.txt
  465. for details.
  466. Note that this requires the toolchain to have SSP support.
  467. This is always the case for glibc and eglibc toolchain, but is
  468. optional in uClibc toolchains.
  469. config BR2_SSP_NONE
  470. bool "None"
  471. help
  472. Disable stack-smashing protection.
  473. config BR2_SSP_REGULAR
  474. bool "-fstack-protector"
  475. help
  476. Emit extra code to check for buffer overflows, such as stack
  477. smashing attacks. This is done by adding a guard variable to
  478. functions with vulnerable objects. This includes functions
  479. that call alloca, and functions with buffers larger than 8
  480. bytes. The guards are initialized when a function is entered
  481. and then checked when the function exits. If a guard check
  482. fails, an error message is printed and the program exits.
  483. config BR2_SSP_STRONG
  484. bool "-fstack-protector-strong"
  485. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
  486. help
  487. Like -fstack-protector but includes additional functions to be
  488. protected - those that have local array definitions, or have
  489. references to local frame addresses.
  490. comment "Stack Smashing Protection strong needs a toolchain w/ gcc >= 4.9"
  491. depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
  492. config BR2_SSP_ALL
  493. bool "-fstack-protector-all"
  494. help
  495. Like -fstack-protector except that all functions are
  496. protected. This option might have a significant performance
  497. impact on the compiled binaries.
  498. endchoice
  499. comment "Stack Smashing Protection needs a toolchain w/ SSP"
  500. depends on !BR2_TOOLCHAIN_HAS_SSP
  501. choice
  502. bool "libraries"
  503. default BR2_SHARED_LIBS if BR2_BINFMT_SUPPORTS_SHARED
  504. default BR2_STATIC_LIBS if !BR2_BINFMT_SUPPORTS_SHARED
  505. help
  506. Select the type of libraries you want to use on the target.
  507. The default is to build dynamic libraries and use those on the
  508. target filesystem, except when the architecture and/or the
  509. selected binary format does not support shared libraries.
  510. config BR2_STATIC_LIBS
  511. bool "static only"
  512. help
  513. Build and use only static libraries. No shared libraries will
  514. be installed on the target. This potentially increases your
  515. code size and should only be used if you know what you are
  516. doing. Note that some packages may not be available when this
  517. option is enabled, due to their need for dynamic library
  518. support.
  519. config BR2_SHARED_LIBS
  520. bool "shared only"
  521. depends on BR2_BINFMT_SUPPORTS_SHARED
  522. help
  523. Build and use only shared libraries. This is the recommended
  524. solution as it saves space and build time.
  525. config BR2_SHARED_STATIC_LIBS
  526. bool "both static and shared"
  527. depends on BR2_BINFMT_SUPPORTS_SHARED
  528. help
  529. Build both shared and static libraries, but link executables
  530. dynamically. While building both shared and static libraries
  531. take more time and more disk space, having static libraries
  532. may be useful to link some of the applications statically.
  533. endchoice
  534. config BR2_PACKAGE_OVERRIDE_FILE
  535. string "location of a package override file"
  536. default "$(CONFIG_DIR)/local.mk"
  537. help
  538. A package override file is a short makefile that contains
  539. variable definitions of the form <pkg>_OVERRIDE_SRCDIR, which
  540. allows to tell Buildroot to use an existing directory as the
  541. source directory for a particular package. See the Buildroot
  542. documentation for more details on this feature.
  543. config BR2_GLOBAL_PATCH_DIR
  544. string "global patch directories"
  545. help
  546. You may specify a space separated list of one or more
  547. directories containing global package patches. For a specific
  548. version <packageversion> of a specific package <packagename>,
  549. patches are applied as follows:
  550. First, the default Buildroot patch set for the package is
  551. applied from the package's directory in Buildroot.
  552. Then for every directory - <global-patch-dir> - that exists in
  553. BR2_GLOBAL_PATCH_DIR, if the directory
  554. <global-patch-dir>/<packagename>/<packageversion>/ exists,
  555. then all *.patch files in this directory will be applied.
  556. Otherwise, if the directory <global-patch-dir>/<packagename>
  557. exists, then all *.patch files in the directory will be
  558. applied.
  559. menu "Advanced"
  560. config BR2_COMPILER_PARANOID_UNSAFE_PATH
  561. bool "paranoid check of library/header paths"
  562. default y
  563. help
  564. By default, when this option is disabled, when the Buildroot
  565. cross-compiler will encounter an unsafe library or header path
  566. (such as /usr/include, or /usr/lib), the compiler will display
  567. a warning.
  568. By enabling this option, this warning is turned into an error,
  569. which will completely abort the build when such unsafe paths
  570. are encountered.
  571. Note that this mechanism is available for both the internal
  572. toolchain (through the toolchain wrapper and binutils patches)
  573. and external toolchain backends (through the toolchain wrapper).
  574. config BR2_REPRODUCIBLE
  575. bool "Make the build reproducible (experimental)"
  576. help
  577. This option will remove all sources of non-reproducibility
  578. from the build process. For a given Buildroot configuration,
  579. this allows to generate exactly identical binaries from one
  580. build to the other, including on different machines.
  581. This is labeled as an experimental feature, as not all
  582. packages behave properly to ensure reproducibility.
  583. endmenu
  584. endmenu
  585. source "toolchain/Config.in"
  586. source "system/Config.in"
  587. source "linux/Config.in"
  588. source "package/Config.in"
  589. source "fs/Config.in"
  590. source "boot/Config.in"
  591. source "package/Config.in.host"
  592. source "Config.in.legacy"
  593. source "$BR2_BUILD_DIR/.br2-external.in"