Config.in 21 KB

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