Config.in 22 KB

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