Config.in 22 KB

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