Eric Andersen | 2d523c2 | 2004-10-09 01:06:03 +0000 | [diff] [blame] | 1 | # |
| 2 | |
Peter Korsgaard | 6a53b72 | 2011-02-02 14:53:23 +0100 | [diff] [blame] | 3 | mainmenu "Buildroot $BR2_VERSION Configuration" |
Eric Andersen | 2d523c2 | 2004-10-09 01:06:03 +0000 | [diff] [blame] | 4 | |
| 5 | config BR2_HAVE_DOT_CONFIG |
| 6 | bool |
| 7 | default y |
| 8 | |
Bernhard Reutner-Fischer | f5b8cd4 | 2007-09-25 11:37:31 +0000 | [diff] [blame] | 9 | config BR2_VERSION |
| 10 | string |
Yann E. MORIN | 56c68bc | 2010-10-31 17:35:14 +0100 | [diff] [blame] | 11 | option env="BR2_VERSION_FULL" |
Bernhard Reutner-Fischer | f5b8cd4 | 2007-09-25 11:37:31 +0000 | [diff] [blame] | 12 | |
Francois Perrad | 1d4104f | 2012-07-18 15:59:09 +0200 | [diff] [blame] | 13 | config BR2_HOSTARCH |
| 14 | string |
| 15 | option env="HOSTARCH" |
| 16 | |
Thomas Petazzoni | a4239f7 | 2013-12-05 20:11:10 +0100 | [diff] [blame] | 17 | config BR2_EXTERNAL |
| 18 | string |
| 19 | option env="BR2_EXTERNAL" |
| 20 | |
Arnout Vandecappelle | 12825f7 | 2015-12-31 01:34:13 +0100 | [diff] [blame] | 21 | # Hidden config symbols for packages to check system gcc version |
| 22 | config BR2_HOST_GCC_VERSION |
| 23 | string |
| 24 | option env="HOST_GCC_VERSION" |
| 25 | |
Bernd Kuhls | 8fce6d7 | 2016-03-19 21:25:35 +0100 | [diff] [blame] | 26 | config BR2_HOST_GCC_AT_LEAST_4_6 |
| 27 | bool |
| 28 | default y if BR2_HOST_GCC_VERSION = "4 6" |
| 29 | |
Arnout Vandecappelle | 12825f7 | 2015-12-31 01:34:13 +0100 | [diff] [blame] | 30 | config BR2_HOST_GCC_AT_LEAST_4_7 |
| 31 | bool |
| 32 | default y if BR2_HOST_GCC_VERSION = "4 7" |
Bernd Kuhls | 8fce6d7 | 2016-03-19 21:25:35 +0100 | [diff] [blame] | 33 | select BR2_HOST_GCC_AT_LEAST_4_6 |
Arnout Vandecappelle | 12825f7 | 2015-12-31 01:34:13 +0100 | [diff] [blame] | 34 | |
| 35 | config BR2_HOST_GCC_AT_LEAST_4_8 |
| 36 | bool |
| 37 | default y if BR2_HOST_GCC_VERSION = "4 8" |
| 38 | select BR2_HOST_GCC_AT_LEAST_4_7 |
| 39 | |
| 40 | config BR2_HOST_GCC_AT_LEAST_4_9 |
| 41 | bool |
| 42 | default y if BR2_HOST_GCC_VERSION = "4 9" |
| 43 | select BR2_HOST_GCC_AT_LEAST_4_8 |
| 44 | |
| 45 | config BR2_HOST_GCC_AT_LEAST_5 |
| 46 | bool |
| 47 | default y if BR2_HOST_GCC_VERSION = "5" |
| 48 | select BR2_HOST_GCC_AT_LEAST_4_9 |
| 49 | |
Maxime Hadjinlian | aac3d2b | 2014-02-18 00:37:12 +0100 | [diff] [blame] | 50 | # Hidden boolean selected by packages in need of Java in order to build |
| 51 | # (example: xbmc) |
Maxime Hadjinlian | 0721c71 | 2014-02-19 16:33:50 +0100 | [diff] [blame] | 52 | config BR2_NEEDS_HOST_JAVA |
Maxime Hadjinlian | aac3d2b | 2014-02-18 00:37:12 +0100 | [diff] [blame] | 53 | bool |
| 54 | |
Maxime Hadjinlian | 8f9da28 | 2014-05-04 00:45:44 +0200 | [diff] [blame] | 55 | # Hidden boolean selected by packages in need of javac in order to build |
| 56 | # (example: classpath) |
| 57 | config BR2_NEEDS_HOST_JAVAC |
| 58 | bool |
| 59 | |
| 60 | # Hidden boolean selected by packages in need of jar in order to build |
| 61 | # (example: classpath) |
| 62 | config BR2_NEEDS_HOST_JAR |
| 63 | bool |
| 64 | |
Thomas Petazzoni | 70d6037 | 2012-12-29 06:14:49 +0000 | [diff] [blame] | 65 | # Hidden boolean selected by pre-built packages for x86, when they |
| 66 | # need to run on x86-64 machines (example: pre-built external |
| 67 | # toolchains, binary tools like SAM-BA, etc.). |
| 68 | config BR2_HOSTARCH_NEEDS_IA32_LIBS |
| 69 | bool |
| 70 | |
Thomas Petazzoni | 0e4bc50 | 2013-11-11 17:47:25 +0100 | [diff] [blame] | 71 | # Hidden boolean selected by packages that need to build 32 bits |
| 72 | # binaries with the host compiler, even on 64 bits build machines (e.g |
| 73 | # bootloaders). |
| 74 | config BR2_HOSTARCH_NEEDS_IA32_COMPILER |
| 75 | bool |
| 76 | |
Thomas Petazzoni | 79ee3c1 | 2012-11-03 08:27:59 +0000 | [diff] [blame] | 77 | source "arch/Config.in" |
Bernhard Reutner-Fischer | 7d8a59b | 2007-07-08 16:28:54 +0000 | [diff] [blame] | 78 | |
Eric Andersen | 8e5fb3f | 2004-12-11 13:01:10 +0000 | [diff] [blame] | 79 | menu "Build options" |
| 80 | |
Thomas Petazzoni | 1592926 | 2010-04-10 22:55:01 +0200 | [diff] [blame] | 81 | menu "Commands" |
| 82 | |
Eric Andersen | 2d523c2 | 2004-10-09 01:06:03 +0000 | [diff] [blame] | 83 | config BR2_WGET |
Eric Andersen | 8e5fb3f | 2004-12-11 13:01:10 +0000 | [diff] [blame] | 84 | string "Wget command" |
Peter Korsgaard | 6871b16 | 2010-11-04 19:16:43 +0100 | [diff] [blame] | 85 | default "wget --passive-ftp -nd -t 3" |
Eric Andersen | 2d523c2 | 2004-10-09 01:06:03 +0000 | [diff] [blame] | 86 | |
Maxime Petazzoni | cf71111 | 2010-09-02 12:09:45 +0200 | [diff] [blame] | 87 | config BR2_SVN |
| 88 | string "Subversion (svn) command" |
| 89 | default "svn" |
Eric Andersen | e30cf26 | 2005-01-23 11:20:30 +0000 | [diff] [blame] | 90 | |
Maxime Petazzoni | cf71111 | 2010-09-02 12:09:45 +0200 | [diff] [blame] | 91 | config BR2_BZR |
| 92 | string "Bazaar (bzr) command" |
| 93 | default "bzr" |
Sven Neumann | df03cda | 2009-08-07 11:57:54 +0200 | [diff] [blame] | 94 | |
Ulf Samuelsson | 85f54fb | 2007-08-24 05:31:07 +0000 | [diff] [blame] | 95 | config BR2_GIT |
Maxime Petazzoni | cf71111 | 2010-09-02 12:09:45 +0200 | [diff] [blame] | 96 | string "Git command" |
| 97 | default "git" |
Ulf Samuelsson | 85f54fb | 2007-08-24 05:31:07 +0000 | [diff] [blame] | 98 | |
Gustavo Zacarias | 15eb1fa | 2013-09-11 09:12:04 -0300 | [diff] [blame] | 99 | config BR2_CVS |
| 100 | string "CVS command" |
| 101 | default "cvs" |
| 102 | |
David Wagner | 2690e76 | 2011-09-29 21:57:46 +0200 | [diff] [blame] | 103 | config BR2_LOCALFILES |
| 104 | string "Local files retrieval command" |
| 105 | default "cp" |
| 106 | |
Thomas De Schampheleire | c61788f | 2011-10-19 09:25:40 +0200 | [diff] [blame] | 107 | config BR2_SCP |
| 108 | string "Secure copy (scp) command" |
| 109 | default "scp" |
| 110 | |
| 111 | config BR2_SSH |
| 112 | string "Secure shell (ssh) command" |
| 113 | default "ssh" |
| 114 | |
Thomas De Schampheleire | f694c07 | 2011-10-19 09:25:47 +0200 | [diff] [blame] | 115 | config BR2_HG |
| 116 | string "Mercurial (hg) command" |
| 117 | default "hg" |
| 118 | |
Bernhard Reutner-Fischer | 859b913 | 2006-10-01 15:07:45 +0000 | [diff] [blame] | 119 | config BR2_ZCAT |
| 120 | string "zcat command" |
Bernhard Reutner-Fischer | a9612bf | 2007-03-09 08:26:10 +0000 | [diff] [blame] | 121 | default "gzip -d -c" |
Bernhard Reutner-Fischer | 859b913 | 2006-10-01 15:07:45 +0000 | [diff] [blame] | 122 | help |
| 123 | Command to be used to extract a gzip'ed file to stdout. |
| 124 | zcat is identical to gunzip -c except that the former may |
| 125 | not be available on your system. |
Bernhard Reutner-Fischer | a9612bf | 2007-03-09 08:26:10 +0000 | [diff] [blame] | 126 | Default is "gzip -d -c" |
| 127 | Other possible values include "gunzip -c" or "zcat". |
Bernhard Reutner-Fischer | 6e2823c | 2006-11-17 15:43:51 +0000 | [diff] [blame] | 128 | |
| 129 | config BR2_BZCAT |
| 130 | string "bzcat command" |
| 131 | default "bzcat" |
| 132 | help |
| 133 | Command to be used to extract a bzip2'ed file to stdout. |
| 134 | bzcat is identical to bunzip2 -c except that the former may |
| 135 | not be available on your system. |
| 136 | Default is "bzcat" |
| 137 | Other possible values include "bunzip2 -c" or "bzip2 -d -c". |
Bernhard Reutner-Fischer | 859b913 | 2006-10-01 15:07:45 +0000 | [diff] [blame] | 138 | |
Allan W. Nielsen | 177b4b4 | 2011-05-10 08:17:05 +0200 | [diff] [blame] | 139 | config BR2_XZCAT |
| 140 | string "xzcat command" |
| 141 | default "xzcat" |
| 142 | help |
| 143 | Command to be used to extract a xz'ed file to stdout. |
| 144 | Default is "xzcat" |
| 145 | |
Bernhard Reutner-Fischer | ce90aae | 2005-12-10 14:59:02 +0000 | [diff] [blame] | 146 | config BR2_TAR_OPTIONS |
| 147 | string "Tar options" |
Bernhard Reutner-Fischer | 7df4de6 | 2005-12-10 15:36:43 +0000 | [diff] [blame] | 148 | default "" |
| 149 | help |
| 150 | Options to pass to tar when extracting the sources. |
| 151 | E.g. " -v --exclude='*.svn*'" to exclude all .svn internal files |
| 152 | and to be verbose. |
Bernhard Reutner-Fischer | ce90aae | 2005-12-10 14:59:02 +0000 | [diff] [blame] | 153 | |
Thomas Petazzoni | 1592926 | 2010-04-10 22:55:01 +0200 | [diff] [blame] | 154 | endmenu |
| 155 | |
Arnout Vandecappelle (Essensium/Mind) | 4e0170d | 2013-02-06 21:50:57 +0000 | [diff] [blame] | 156 | config BR2_DEFCONFIG_FROM_ENV |
| 157 | string |
| 158 | option env="BR2_DEFCONFIG" |
| 159 | |
| 160 | config BR2_DEFCONFIG |
| 161 | string "Location to save buildroot config" |
| 162 | default BR2_DEFCONFIG_FROM_ENV if BR2_DEFCONFIG_FROM_ENV != "" |
| 163 | default "$(CONFIG_DIR)/defconfig" |
| 164 | help |
| 165 | When running 'make savedefconfig', the defconfig file will be saved |
| 166 | in this location. |
| 167 | |
Mike Frysinger | 59a63a9 | 2005-10-01 00:35:24 +0000 | [diff] [blame] | 168 | config BR2_DL_DIR |
| 169 | string "Download dir" |
H Hartley Sweeten | be695dc | 2009-09-23 08:46:52 +0200 | [diff] [blame] | 170 | default "$(TOPDIR)/dl" |
Mike Frysinger | 59a63a9 | 2005-10-01 00:35:24 +0000 | [diff] [blame] | 171 | help |
| 172 | Directory to store all the source files that we need to fetch. |
Arnout Vandecappelle | 6768021 | 2014-02-04 16:18:51 +0100 | [diff] [blame] | 173 | If the Linux shell environment has defined the BR2_DL_DIR |
Ulf Samuelsson | 67050e1 | 2007-08-21 01:28:12 +0000 | [diff] [blame] | 174 | environment variable, then this overrides this configuration item. |
Mike Frysinger | 59a63a9 | 2005-10-01 00:35:24 +0000 | [diff] [blame] | 175 | |
H Hartley Sweeten | be695dc | 2009-09-23 08:46:52 +0200 | [diff] [blame] | 176 | The default is $(TOPDIR)/dl |
Bernhard Reutner-Fischer | 4b0d5a8 | 2007-09-26 21:12:38 +0000 | [diff] [blame] | 177 | |
Gustavo Zacarias | a2b4f7f | 2011-02-02 10:05:56 -0300 | [diff] [blame] | 178 | config BR2_HOST_DIR |
| 179 | string "Host dir" |
| 180 | default "$(BASE_DIR)/host" |
| 181 | help |
| 182 | Directory to store all the binary files that are built for the host. |
| 183 | This includes the cross compilation toolchain when building the |
| 184 | internal buildroot toolchain. |
| 185 | |
| 186 | The default is $(BASE_DIR)/host |
| 187 | |
Thomas Petazzoni | 8008007 | 2010-12-05 21:52:37 +0100 | [diff] [blame] | 188 | menu "Mirrors and Download locations" |
| 189 | |
| 190 | config BR2_PRIMARY_SITE |
| 191 | string "Primary download site" |
| 192 | default "" |
| 193 | help |
| 194 | Primary site to download from. If this option is set then buildroot |
| 195 | will try to download package source first from this site and try the |
| 196 | default if the file is not found. |
Jérôme Pouiller | 4a9d980 | 2015-11-18 10:03:25 +0100 | [diff] [blame] | 197 | Valid URIs are: |
| 198 | - URIs recognized by $(WGET) |
| 199 | - local URIs of the form file://absolutepath |
| 200 | - scp URIs of the form scp://[user@]host:path. |
Thomas Petazzoni | 8008007 | 2010-12-05 21:52:37 +0100 | [diff] [blame] | 201 | |
Thomas De Schampheleire | 5a83e08 | 2012-06-22 07:37:03 +0200 | [diff] [blame] | 202 | config BR2_PRIMARY_SITE_ONLY |
| 203 | bool "Only allow downloads from primary download site" |
| 204 | depends on BR2_PRIMARY_SITE != "" |
| 205 | help |
| 206 | If this option is enabled, downloads will only be attempted |
| 207 | from the primary download site. Other locations, like the |
| 208 | package's official download location or the backup download |
| 209 | site, will not be considered. Therefore, if the package is |
| 210 | not present on the primary site, the download fails. |
| 211 | |
| 212 | This is useful for project developers who want to ensure |
| 213 | that the project can be built even if the upstream tarball |
| 214 | locations disappear. |
| 215 | |
| 216 | if !BR2_PRIMARY_SITE_ONLY |
| 217 | |
Thomas Petazzoni | 8008007 | 2010-12-05 21:52:37 +0100 | [diff] [blame] | 218 | config BR2_BACKUP_SITE |
| 219 | string "Backup download site" |
Peter Seiderer | 4a9eb20 | 2014-02-21 23:33:36 +0100 | [diff] [blame] | 220 | default "http://sources.buildroot.net" |
Thomas Petazzoni | 8008007 | 2010-12-05 21:52:37 +0100 | [diff] [blame] | 221 | help |
| 222 | Backup site to download from. If this option is set then buildroot |
| 223 | will fall back to download package sources from here if the |
| 224 | normal location fails. |
| 225 | |
Thomas Petazzoni | 8008007 | 2010-12-05 21:52:37 +0100 | [diff] [blame] | 226 | config BR2_KERNEL_MIRROR |
| 227 | string "Kernel.org mirror" |
Alexey Brodkin | de76cb7 | 2016-05-23 18:36:53 +0300 | [diff] [blame^] | 228 | default "https://cdn.kernel.org/pub" |
Thomas Petazzoni | 8008007 | 2010-12-05 21:52:37 +0100 | [diff] [blame] | 229 | help |
Alexey Brodkin | de76cb7 | 2016-05-23 18:36:53 +0300 | [diff] [blame^] | 230 | kernel.org is mirrored on a number of servers around the |
| 231 | world. The following allows you to select your preferred |
| 232 | mirror. By default, a CDN is used, which automatically |
| 233 | redirects to a mirror geographically close to you. |
Thomas Petazzoni | 8008007 | 2010-12-05 21:52:37 +0100 | [diff] [blame] | 234 | |
| 235 | Have a look on the kernel.org site for a list of mirrors, then enter |
| 236 | the URL to the base directory. Examples: |
| 237 | |
| 238 | http://www.XX.kernel.org/pub (XX = country code) |
| 239 | http://mirror.aarnet.edu.au/pub/ftp.kernel.org |
| 240 | |
| 241 | config BR2_GNU_MIRROR |
| 242 | string "GNU Software mirror" |
| 243 | default "http://ftp.gnu.org/pub/gnu" |
| 244 | help |
| 245 | GNU has multiple software mirrors scattered around the world. |
| 246 | The following allows you to select your preferred mirror. |
| 247 | |
| 248 | Have a look on the gnu.org site for a list of mirrors, then enter |
| 249 | the URL to the base directory. Examples: |
| 250 | |
| 251 | http://ftp.gnu.org/pub/gnu |
| 252 | http://mirror.aarnet.edu.au/pub/gnu |
| 253 | |
Francois Perrad | 72afb29 | 2014-01-11 16:42:07 +0100 | [diff] [blame] | 254 | config BR2_LUAROCKS_MIRROR |
| 255 | string "LuaRocks mirror" |
Francois Perrad | 0b8411a | 2014-07-25 20:21:24 +0200 | [diff] [blame] | 256 | default "http://rocks.moonscript.org" |
Francois Perrad | 72afb29 | 2014-01-11 16:42:07 +0100 | [diff] [blame] | 257 | help |
| 258 | LuaRocks repository. |
| 259 | |
| 260 | See http://luarocks.org |
| 261 | |
Francois Perrad | 9fbb169 | 2014-02-23 15:17:16 +0100 | [diff] [blame] | 262 | config BR2_CPAN_MIRROR |
| 263 | string "CPAN mirror (Perl packages)" |
Yann E. MORIN | 32567d1 | 2014-07-19 12:09:19 +0200 | [diff] [blame] | 264 | default "http://cpan.metacpan.org" |
Francois Perrad | 9fbb169 | 2014-02-23 15:17:16 +0100 | [diff] [blame] | 265 | help |
| 266 | CPAN (Comprehensive Perl Archive Network) is a repository |
| 267 | of Perl packages. It has multiple software mirrors scattered |
| 268 | around the world. This option allows you to select a mirror. |
| 269 | |
| 270 | The list of mirrors is available at: |
| 271 | http://search.cpan.org/mirror |
| 272 | |
Yann E. MORIN | 3318a5a | 2015-07-14 09:42:40 +0200 | [diff] [blame] | 273 | endif |
| 274 | |
Thomas Petazzoni | 8008007 | 2010-12-05 21:52:37 +0100 | [diff] [blame] | 275 | endmenu |
Thomas Petazzoni | aa41d37 | 2010-04-10 22:55:38 +0200 | [diff] [blame] | 276 | |
Eric Andersen | 8e5fb3f | 2004-12-11 13:01:10 +0000 | [diff] [blame] | 277 | config BR2_JLEVEL |
Nathan Lynch | 5016aa0 | 2012-06-16 09:37:17 +0000 | [diff] [blame] | 278 | int "Number of jobs to run simultaneously (0 for auto)" |
| 279 | default "0" |
Eric Andersen | 8e5fb3f | 2004-12-11 13:01:10 +0000 | [diff] [blame] | 280 | help |
Nathan Lynch | 5016aa0 | 2012-06-16 09:37:17 +0000 | [diff] [blame] | 281 | Number of jobs to run simultaneously. If 0, determine |
| 282 | automatically according to number of CPUs on the host |
| 283 | system. |
Bernhard Reutner-Fischer | 93ab6d3 | 2007-01-28 12:03:58 +0000 | [diff] [blame] | 284 | |
Thomas Petazzoni | 17b66af | 2010-12-07 21:09:56 +0100 | [diff] [blame] | 285 | config BR2_CCACHE |
| 286 | bool "Enable compiler cache" |
| 287 | help |
| 288 | This option will enable the use of ccache, a compiler |
| 289 | cache. It will cache the result of previous builds to speed |
Danomi Manchego | dd79f2d | 2014-04-30 22:05:07 -0400 | [diff] [blame] | 290 | up future builds. By default, the cache is stored in |
Thomas Petazzoni | 17b66af | 2010-12-07 21:09:56 +0100 | [diff] [blame] | 291 | $HOME/.buildroot-ccache. |
| 292 | |
Thomas Petazzoni | f044e03 | 2012-03-07 20:26:50 +0100 | [diff] [blame] | 293 | Note that Buildroot does not try to invalidate the cache |
| 294 | contents when the compiler changes in an incompatible |
| 295 | way. Therefore, if you make a change to the compiler version |
| 296 | and/or configuration, you are responsible for purging the |
| 297 | ccache cache by removing the $HOME/.buildroot-ccache |
| 298 | directory. |
| 299 | |
Danomi Manchego | dd79f2d | 2014-04-30 22:05:07 -0400 | [diff] [blame] | 300 | if BR2_CCACHE |
| 301 | |
Thomas De Schampheleire | 4332907 | 2012-05-16 21:39:28 +0200 | [diff] [blame] | 302 | config BR2_CCACHE_DIR |
| 303 | string "Compiler cache location" |
Thomas De Schampheleire | 4332907 | 2012-05-16 21:39:28 +0200 | [diff] [blame] | 304 | default "$(HOME)/.buildroot-ccache" |
| 305 | help |
| 306 | Where ccache should store cached files. |
| 307 | |
Danomi Manchego | dd79f2d | 2014-04-30 22:05:07 -0400 | [diff] [blame] | 308 | config BR2_CCACHE_INITIAL_SETUP |
| 309 | string "Compiler cache initial setup" |
| 310 | help |
| 311 | Initial ccache settings to apply, such as --max-files or --max-size. |
| 312 | |
| 313 | For example, if your project is known to require more space than the |
| 314 | default max cache size, then you might want to increase the cache size |
| 315 | to a suitable amount using the -M (--max-size) option. |
| 316 | |
| 317 | The string you specify here is passed verbatim to ccache. Refer to |
| 318 | ccache documentation for more details. |
| 319 | |
| 320 | These initial settings are applied after ccache has been compiled. |
| 321 | |
Arnout Vandecappelle | 1e97b27 | 2015-10-04 16:25:32 +0100 | [diff] [blame] | 322 | config BR2_CCACHE_USE_BASEDIR |
| 323 | bool "Use relative paths" |
| 324 | default y |
| 325 | help |
| 326 | Allow ccache to convert absolute paths within the output |
| 327 | directory into relative paths. |
| 328 | |
| 329 | During the build, many -I include directives are given with |
| 330 | an absolute path. These absolute paths end up in the hashes |
| 331 | that are computed by ccache. Therefore, when you build from a |
| 332 | different directory, the hash will be different and the |
| 333 | cached object will not be used. |
| 334 | |
| 335 | To improve cache performance, set this option to y. This |
| 336 | allows ccache to rewrite absolute paths within the output |
| 337 | directory into relative paths. Note that only paths within |
| 338 | the output directory will be rewritten; therefore, if you |
| 339 | change BR2_HOST_DIR to point outside the output directory and |
| 340 | subsequently move it to a different location, this will lead |
| 341 | to cache misses. |
| 342 | |
| 343 | This option has as a result that the debug information in the |
| 344 | object files also has only relative paths. Therefore, make |
| 345 | sure you cd to the build directory before starting gdb. See |
| 346 | the section "COMPILING IN DIFFERENT DIRECTORIES" in the |
| 347 | ccache manual for more information. |
| 348 | |
Danomi Manchego | dd79f2d | 2014-04-30 22:05:07 -0400 | [diff] [blame] | 349 | endif |
| 350 | |
Bernhard Reutner-Fischer | 7779fd7 | 2007-02-09 13:31:55 +0000 | [diff] [blame] | 351 | config BR2_DEPRECATED |
Gustavo Zacarias | 8515ef0 | 2014-09-19 10:41:09 -0300 | [diff] [blame] | 352 | bool "Show options and packages that are deprecated or obsolete" |
Bernhard Reutner-Fischer | 7779fd7 | 2007-02-09 13:31:55 +0000 | [diff] [blame] | 353 | help |
Gustavo Zacarias | 8515ef0 | 2014-09-19 10:41:09 -0300 | [diff] [blame] | 354 | This option shows outdated/obsolete versions of packages and |
| 355 | options that are otherwise hidden. |
Eric Andersen | ba7c48f | 2004-12-11 10:25:40 +0000 | [diff] [blame] | 356 | |
Thomas De Schampheleire | ba4ad9d | 2014-01-03 17:02:50 +0100 | [diff] [blame] | 357 | if BR2_DEPRECATED |
| 358 | |
Gustavo Zacarias | 0f1556e | 2015-03-03 12:52:24 -0300 | [diff] [blame] | 359 | config BR2_DEPRECATED_SINCE_2015_05 |
| 360 | bool |
| 361 | default y |
| 362 | |
Gustavo Zacarias | 602692a | 2015-06-02 14:34:34 -0300 | [diff] [blame] | 363 | config BR2_DEPRECATED_SINCE_2015_08 |
| 364 | bool |
| 365 | default y |
| 366 | |
Vicente Olivert Riera | 429a116 | 2015-12-17 16:39:53 +0000 | [diff] [blame] | 367 | config BR2_DEPRECATED_SINCE_2015_11 |
| 368 | bool |
| 369 | default y |
| 370 | |
Gustavo Zacarias | 07941f4 | 2016-01-15 07:47:46 -0300 | [diff] [blame] | 371 | config BR2_DEPRECATED_SINCE_2016_02 |
| 372 | bool |
| 373 | default y |
| 374 | |
Gustavo Zacarias | bca107e | 2016-02-22 14:54:57 -0300 | [diff] [blame] | 375 | config BR2_DEPRECATED_SINCE_2016_05 |
| 376 | bool |
| 377 | default y |
| 378 | |
Thomas De Schampheleire | ba4ad9d | 2014-01-03 17:02:50 +0100 | [diff] [blame] | 379 | endif |
| 380 | |
John Voltz | 41f6b79 | 2008-03-12 13:07:10 +0000 | [diff] [blame] | 381 | config BR2_ENABLE_DEBUG |
| 382 | bool "build packages with debugging symbols" |
John Voltz | 41f6b79 | 2008-03-12 13:07:10 +0000 | [diff] [blame] | 383 | help |
Thomas Petazzoni | a9a3467 | 2012-03-14 23:49:58 +0100 | [diff] [blame] | 384 | Build packages with debugging symbols enabled. All libraries |
| 385 | and binaries in the 'staging' directory will have debugging |
| 386 | symbols, which allows remote debugging even if libraries and |
| 387 | binaries are stripped on the target. Whether libraries and |
| 388 | binaries are stripped on the target is controlled by the |
| 389 | BR2_STRIP_* options below. |
John Voltz | 41f6b79 | 2008-03-12 13:07:10 +0000 | [diff] [blame] | 390 | |
| 391 | if BR2_ENABLE_DEBUG |
| 392 | choice |
| 393 | prompt "gcc debug level" |
| 394 | default BR2_DEBUG_2 |
| 395 | help |
| 396 | Set the debug level for gcc |
| 397 | |
| 398 | config BR2_DEBUG_1 |
| 399 | bool "debug level 1" |
| 400 | help |
Peter Korsgaard | 02a623d | 2008-08-04 19:07:05 +0000 | [diff] [blame] | 401 | Debug level 1 produces minimal information, enough |
| 402 | for making backtraces in parts of the program that |
| 403 | you don't plan to debug. This includes descriptions |
John Voltz | 41f6b79 | 2008-03-12 13:07:10 +0000 | [diff] [blame] | 404 | of functions and external variables, but no information |
| 405 | about local variables and no line numbers. |
| 406 | |
| 407 | config BR2_DEBUG_2 |
| 408 | bool "debug level 2" |
| 409 | help |
| 410 | The default gcc debug level is 2 |
| 411 | |
| 412 | config BR2_DEBUG_3 |
| 413 | bool "debug level 3" |
| 414 | help |
Peter Korsgaard | 02a623d | 2008-08-04 19:07:05 +0000 | [diff] [blame] | 415 | Level 3 includes extra information, such as all the |
John Voltz | 41f6b79 | 2008-03-12 13:07:10 +0000 | [diff] [blame] | 416 | macro definitions present in the program. Some debuggers |
| 417 | support macro expansion when you use -g3. |
| 418 | endchoice |
| 419 | endif |
| 420 | |
Bernhard Reutner-Fischer | bbd251a | 2007-07-31 18:06:50 +0000 | [diff] [blame] | 421 | choice |
Thomas Petazzoni | a9a3467 | 2012-03-14 23:49:58 +0100 | [diff] [blame] | 422 | prompt "strip command for binaries on target" |
Bernhard Reutner-Fischer | bbd251a | 2007-07-31 18:06:50 +0000 | [diff] [blame] | 423 | default BR2_STRIP_strip |
Bernhard Reutner-Fischer | bbd251a | 2007-07-31 18:06:50 +0000 | [diff] [blame] | 424 | |
| 425 | config BR2_STRIP_strip |
| 426 | bool "strip" |
Axel Lin | 9f2bf30 | 2013-09-03 17:39:53 +0800 | [diff] [blame] | 427 | depends on !BR2_PACKAGE_HOST_ELF2FLT |
Bernhard Reutner-Fischer | bbd251a | 2007-07-31 18:06:50 +0000 | [diff] [blame] | 428 | help |
Thomas Petazzoni | a9a3467 | 2012-03-14 23:49:58 +0100 | [diff] [blame] | 429 | Binaries and libraries in the target filesystem will be |
| 430 | stripped using the normal 'strip' command. This allows to |
| 431 | save space, mainly by removing debugging symbols. Debugging |
| 432 | symbols on the target are needed for native debugging, but |
| 433 | not when remote debugging is used. |
Ulf Samuelsson | 85f54fb | 2007-08-24 05:31:07 +0000 | [diff] [blame] | 434 | |
Bernhard Reutner-Fischer | bbd251a | 2007-07-31 18:06:50 +0000 | [diff] [blame] | 435 | config BR2_STRIP_none |
| 436 | bool "none" |
| 437 | help |
Thomas Petazzoni | a9a3467 | 2012-03-14 23:49:58 +0100 | [diff] [blame] | 438 | Do not strip binaries and libraries in the target |
| 439 | filesystem. |
Bernhard Reutner-Fischer | bbd251a | 2007-07-31 18:06:50 +0000 | [diff] [blame] | 440 | endchoice |
| 441 | |
Thomas De Schampheleire | 2a97045 | 2012-06-21 19:34:50 +0000 | [diff] [blame] | 442 | config BR2_STRIP_EXCLUDE_FILES |
| 443 | string "executables that should not be stripped" |
| 444 | depends on !BR2_STRIP_none |
| 445 | default "" |
| 446 | help |
| 447 | You may specify a space-separated list of binaries and libraries |
| 448 | here that should not be stripped on the target. |
| 449 | |
| 450 | config BR2_STRIP_EXCLUDE_DIRS |
| 451 | string "directories that should be skipped when stripping" |
| 452 | depends on !BR2_STRIP_none |
| 453 | default "" |
| 454 | help |
| 455 | You may specify a space-separated list of directories that should |
| 456 | be skipped when stripping. Binaries and libraries in these |
| 457 | directories will not be touched. |
| 458 | The directories should be specified relative to the target directory, |
| 459 | without leading slash. |
| 460 | |
John Voltz | 41f6b79 | 2008-03-12 13:07:10 +0000 | [diff] [blame] | 461 | choice |
| 462 | prompt "gcc optimization level" |
John Voltz | 7eb796b | 2008-03-16 13:26:14 +0000 | [diff] [blame] | 463 | default BR2_OPTIMIZE_S |
John Voltz | 923f42a | 2008-03-12 11:23:11 +0000 | [diff] [blame] | 464 | help |
John Voltz | 41f6b79 | 2008-03-12 13:07:10 +0000 | [diff] [blame] | 465 | Set the optimization level for gcc |
| 466 | |
| 467 | config BR2_OPTIMIZE_0 |
| 468 | bool "optimization level 0" |
| 469 | help |
Peter Korsgaard | 02a623d | 2008-08-04 19:07:05 +0000 | [diff] [blame] | 470 | Do not optimize. This is the default. |
John Voltz | 41f6b79 | 2008-03-12 13:07:10 +0000 | [diff] [blame] | 471 | |
| 472 | config BR2_OPTIMIZE_1 |
| 473 | bool "optimization level 1" |
| 474 | help |
Peter Korsgaard | 02a623d | 2008-08-04 19:07:05 +0000 | [diff] [blame] | 475 | Optimize. Optimizing compilation takes somewhat more time, |
| 476 | and a lot more memory for a large function. With -O, the |
| 477 | compiler tries to reduce code size and execution time, |
| 478 | without performing any optimizations that take a great deal |
| 479 | of compilation time. -O turns on the following optimization |
| 480 | flags: -fdefer-pop -fdelayed-branch -fguess-branch-probability |
| 481 | -fcprop-registers -floop-optimize -fif-conversion |
| 482 | -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts |
| 483 | -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename |
John Voltz | 41f6b79 | 2008-03-12 13:07:10 +0000 | [diff] [blame] | 484 | -ftree-fre -ftree-ch -funit-at-a-time -fmerge-constants |
Peter Korsgaard | 02a623d | 2008-08-04 19:07:05 +0000 | [diff] [blame] | 485 | -O also turns on -fomit-frame-pointer on machines where doing |
John Voltz | 41f6b79 | 2008-03-12 13:07:10 +0000 | [diff] [blame] | 486 | so does not interfere with debugging. |
| 487 | |
| 488 | config BR2_OPTIMIZE_2 |
| 489 | bool "optimization level 2" |
| 490 | help |
| 491 | Optimize even more. GCC performs nearly all supported optimizations |
Peter Korsgaard | 02a623d | 2008-08-04 19:07:05 +0000 | [diff] [blame] | 492 | that do not involve a space-speed tradeoff. The compiler does not |
| 493 | perform loop unrolling or function inlining when you specify -O2. |
| 494 | As compared to -O, this option increases both compilation time and |
| 495 | the performance of the generated code. -O2 turns on all optimization |
| 496 | flags specified by -O. It also turns on the following optimization |
| 497 | flags: -fthread-jumps -fcrossjumping -foptimize-sibling-calls |
| 498 | -fcse-follow-jumps -fcse-skip-blocks -fgcse -fgcse-lm |
| 499 | -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop |
| 500 | -frerun-loop-opt -fcaller-saves -fpeephole2 -fschedule-insns |
| 501 | -fschedule-insns2 -fsched-interblock -fsched-spec -fregmove |
| 502 | -fstrict-aliasing -fdelete-null-pointer-checks -freorder-blocks |
| 503 | -freorder-functions -falign-functions -falign-jumps -falign-loops |
John Voltz | 41f6b79 | 2008-03-12 13:07:10 +0000 | [diff] [blame] | 504 | -falign-labels -ftree-vrp -ftree-pre |
| 505 | Please note the warning under -fgcse about invoking -O2 on programs |
| 506 | that use computed gotos. |
| 507 | |
| 508 | config BR2_OPTIMIZE_3 |
| 509 | bool "optimization level 3" |
| 510 | help |
Peter Korsgaard | 02a623d | 2008-08-04 19:07:05 +0000 | [diff] [blame] | 511 | Optimize yet more. -O3 turns on all optimizations specified by -O2 |
| 512 | and also turns on the -finline-functions, -funswitch-loops and |
John Voltz | 41f6b79 | 2008-03-12 13:07:10 +0000 | [diff] [blame] | 513 | -fgcse-after-reload options. |
| 514 | |
| 515 | config BR2_OPTIMIZE_S |
| 516 | bool "optimize for size" |
| 517 | help |
Peter Korsgaard | 02a623d | 2008-08-04 19:07:05 +0000 | [diff] [blame] | 518 | Optimize for size. -Os enables all -O2 optimizations that do not |
John Voltz | 41f6b79 | 2008-03-12 13:07:10 +0000 | [diff] [blame] | 519 | typically increase code size. It also performs further optimizations |
Peter Korsgaard | 02a623d | 2008-08-04 19:07:05 +0000 | [diff] [blame] | 520 | designed to reduce code size. -Os disables the following optimization |
| 521 | flags: -falign-functions -falign-jumps -falign-loops -falign-labels |
John Voltz | 41f6b79 | 2008-03-12 13:07:10 +0000 | [diff] [blame] | 522 | -freorder-blocks -freorder-blocks-and-partition -fprefetch-loop-arrays |
| 523 | -ftree-vect-loop-version |
Peter Korsgaard | 02a623d | 2008-08-04 19:07:05 +0000 | [diff] [blame] | 524 | |
John Voltz | 41f6b79 | 2008-03-12 13:07:10 +0000 | [diff] [blame] | 525 | endchoice |
John Voltz | 923f42a | 2008-03-12 11:23:11 +0000 | [diff] [blame] | 526 | |
Pascal Huerst | 09a1a10 | 2014-07-31 22:08:55 +0200 | [diff] [blame] | 527 | config BR2_GOOGLE_BREAKPAD_ENABLE |
| 528 | bool "Enable google-breakpad support" |
| 529 | select BR2_PACKAGE_GOOGLE_BREAKPAD |
| 530 | depends on BR2_INSTALL_LIBSTDCPP |
| 531 | depends on BR2_TOOLCHAIN_USES_GLIBC |
| 532 | depends on BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS |
| 533 | help |
| 534 | This option will enable the use of google breakpad, a |
| 535 | library and tool suite that allows you to distribute an |
| 536 | application to users with compiler-provided debugging |
| 537 | information removed, record crashes in compact "minidump" |
| 538 | files, send them back to your server and produce C and C++ |
| 539 | stack traces from these minidumps. Breakpad can also write |
| 540 | minidumps on request for programs that have not crashed. |
| 541 | |
| 542 | if BR2_GOOGLE_BREAKPAD_ENABLE |
| 543 | |
| 544 | config BR2_GOOGLE_BREAKPAD_INCLUDE_FILES |
| 545 | string "List of executables and libraries to extract symbols from" |
| 546 | default "" |
| 547 | help |
| 548 | You may specify a space-separated list of binaries and |
| 549 | libraries with full paths relative to $(TARGET_DIR) of which |
| 550 | debug symbols will be dumped for further use with google |
| 551 | breakpad. |
| 552 | |
| 553 | A directory structure that can be used by minidump-stackwalk |
| 554 | will be created at: |
| 555 | |
| 556 | $(STAGING_DIR)/usr/share/google-breakpad-symbols |
| 557 | |
| 558 | endif |
| 559 | |
Steven Noonan | d29c719 | 2015-12-27 12:07:31 +0100 | [diff] [blame] | 560 | choice |
Thomas Petazzoni | c5866be | 2013-09-02 18:06:36 +0200 | [diff] [blame] | 561 | bool "build code with Stack Smashing Protection" |
Steven Noonan | d29c719 | 2015-12-27 12:07:31 +0100 | [diff] [blame] | 562 | default BR2_SSP_ALL if BR2_ENABLE_SSP # legacy |
Thomas Petazzoni | c5866be | 2013-09-02 18:06:36 +0200 | [diff] [blame] | 563 | depends on BR2_TOOLCHAIN_HAS_SSP |
| 564 | help |
Steven Noonan | d29c719 | 2015-12-27 12:07:31 +0100 | [diff] [blame] | 565 | Enable stack smashing protection support using GCC's |
| 566 | -fstack-protector option family. |
Thomas Petazzoni | c5866be | 2013-09-02 18:06:36 +0200 | [diff] [blame] | 567 | |
| 568 | See http://www.linuxfromscratch.org/hints/downloads/files/ssp.txt |
Thomas De Schampheleire | bed4e27 | 2013-11-11 17:23:23 +0100 | [diff] [blame] | 569 | for details. |
Thomas Petazzoni | c5866be | 2013-09-02 18:06:36 +0200 | [diff] [blame] | 570 | |
| 571 | Note that this requires the toolchain to have SSP |
| 572 | support. This is always the case for glibc and eglibc |
| 573 | toolchain, but is optional in uClibc toolchains. |
| 574 | |
Steven Noonan | d29c719 | 2015-12-27 12:07:31 +0100 | [diff] [blame] | 575 | config BR2_SSP_NONE |
| 576 | bool "None" |
| 577 | help |
| 578 | Disable stack-smashing protection. |
| 579 | |
| 580 | config BR2_SSP_REGULAR |
| 581 | bool "-fstack-protector" |
| 582 | help |
| 583 | Emit extra code to check for buffer overflows, such as stack |
| 584 | smashing attacks. This is done by adding a guard variable to |
| 585 | functions with vulnerable objects. This includes functions |
| 586 | that call alloca, and functions with buffers larger than 8 |
| 587 | bytes. The guards are initialized when a function is entered |
| 588 | and then checked when the function exits. If a guard check |
| 589 | fails, an error message is printed and the program exits. |
| 590 | |
| 591 | config BR2_SSP_STRONG |
| 592 | bool "-fstack-protector-strong" |
| 593 | depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 |
| 594 | help |
| 595 | Like -fstack-protector but includes additional functions to be |
| 596 | protected - those that have local array definitions, or have |
| 597 | references to local frame addresses. |
| 598 | |
| 599 | comment "Stack Smashing Protection strong needs a toolchain w/ gcc >= 4.9" |
| 600 | depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 |
| 601 | |
| 602 | config BR2_SSP_ALL |
| 603 | bool "-fstack-protector-all" |
| 604 | help |
| 605 | Like -fstack-protector except that all functions are |
| 606 | protected. This option might have a significant performance |
| 607 | impact on the compiled binaries. |
| 608 | |
| 609 | endchoice |
| 610 | |
| 611 | comment "Stack Smashing Protection needs a toolchain w/ SSP" |
Thomas Petazzoni | c5866be | 2013-09-02 18:06:36 +0200 | [diff] [blame] | 612 | depends on !BR2_TOOLCHAIN_HAS_SSP |
| 613 | |
Thomas Petazzoni | 158001f | 2014-12-11 23:50:09 +0100 | [diff] [blame] | 614 | choice |
| 615 | bool "libraries" |
Thomas Petazzoni | f1d3e09 | 2014-12-11 23:50:11 +0100 | [diff] [blame] | 616 | default BR2_SHARED_LIBS if BR2_BINFMT_SUPPORTS_SHARED |
Thomas Petazzoni | 158001f | 2014-12-11 23:50:09 +0100 | [diff] [blame] | 617 | default BR2_STATIC_LIBS if !BR2_BINFMT_SUPPORTS_SHARED |
Bernhard Reutner-Fischer | 3096f34 | 2007-06-01 22:16:28 +0000 | [diff] [blame] | 618 | help |
Thomas Petazzoni | 158001f | 2014-12-11 23:50:09 +0100 | [diff] [blame] | 619 | Select the type of libraries you want to use on the target. |
Bernhard Reutner-Fischer | 3096f34 | 2007-06-01 22:16:28 +0000 | [diff] [blame] | 620 | |
Thomas Petazzoni | 158001f | 2014-12-11 23:50:09 +0100 | [diff] [blame] | 621 | The default is to build dynamic libraries and use those on |
| 622 | the target filesystem, except when the architecture and/or |
| 623 | the selected binary format does not support shared |
| 624 | libraries. |
Alexey Brodkin | 7d9c0df | 2014-10-12 18:34:44 +0200 | [diff] [blame] | 625 | |
Thomas Petazzoni | 158001f | 2014-12-11 23:50:09 +0100 | [diff] [blame] | 626 | config BR2_STATIC_LIBS |
| 627 | bool "static only" |
| 628 | help |
| 629 | Build and use only static libraries. No shared libraries |
| 630 | will be instaled on the target. This potentially increases |
| 631 | your code size and should only be used if you know what you |
| 632 | are doing. Note that some packages may not be available when |
| 633 | this option is enabled, due to their need for dynamic |
| 634 | library support. |
| 635 | |
| 636 | config BR2_SHARED_LIBS |
| 637 | bool "shared only" |
| 638 | depends on BR2_BINFMT_SUPPORTS_SHARED |
| 639 | help |
| 640 | Build and use only shared libraries. This is the recommended |
| 641 | solution as it saves space and build time. |
| 642 | |
| 643 | config BR2_SHARED_STATIC_LIBS |
| 644 | bool "both static and shared" |
| 645 | depends on BR2_BINFMT_SUPPORTS_SHARED |
| 646 | help |
| 647 | Build both shared and static libraries, but link executables |
| 648 | dynamically. While building both shared and static libraries |
| 649 | take more time and more disk space, having static libraries |
| 650 | may be useful to link some of the applications statically. |
| 651 | |
| 652 | endchoice |
Alexey Brodkin | 7d9c0df | 2014-10-12 18:34:44 +0200 | [diff] [blame] | 653 | |
Bernhard Reutner-Fischer | 3096f34 | 2007-06-01 22:16:28 +0000 | [diff] [blame] | 654 | |
Thomas Petazzoni | ee0246e | 2011-09-29 21:57:38 +0200 | [diff] [blame] | 655 | config BR2_PACKAGE_OVERRIDE_FILE |
| 656 | string "location of a package override file" |
Yann E. MORIN | eda3d0e | 2014-01-29 22:48:24 +0100 | [diff] [blame] | 657 | default "$(CONFIG_DIR)/local.mk" |
Thomas Petazzoni | ee0246e | 2011-09-29 21:57:38 +0200 | [diff] [blame] | 658 | help |
| 659 | A package override file is a short makefile that contains |
| 660 | variable definitions of the form <pkg>_OVERRIDE_SRCDIR, |
| 661 | which allows to tell Buildroot to use an existing directory |
| 662 | as the source directory for a particular package. See the |
| 663 | Buildroot documentation for more details on this feature. |
| 664 | |
Simon Dawson | 5538e47 | 2013-03-17 23:13:47 +0000 | [diff] [blame] | 665 | config BR2_GLOBAL_PATCH_DIR |
Ryan Barnett | bc4f79d | 2013-12-18 04:25:01 -0600 | [diff] [blame] | 666 | string "global patch directories" |
Simon Dawson | 5538e47 | 2013-03-17 23:13:47 +0000 | [diff] [blame] | 667 | help |
Ryan Barnett | bc4f79d | 2013-12-18 04:25:01 -0600 | [diff] [blame] | 668 | You may specify a space separated list of one or more directories |
| 669 | containing global package patches. For a specific version |
| 670 | <packageversion> of a specific package <packagename>, patches are |
| 671 | applied as follows: |
Simon Dawson | 5538e47 | 2013-03-17 23:13:47 +0000 | [diff] [blame] | 672 | |
Ryan Barnett | bc4f79d | 2013-12-18 04:25:01 -0600 | [diff] [blame] | 673 | First, the default Buildroot patch set for the package is applied |
| 674 | from the package's directory in Buildroot. |
Simon Dawson | 5538e47 | 2013-03-17 23:13:47 +0000 | [diff] [blame] | 675 | |
Ryan Barnett | bc4f79d | 2013-12-18 04:25:01 -0600 | [diff] [blame] | 676 | Then for every directory - <global-patch-dir> - that exists in |
| 677 | BR2_GLOBAL_PATCH_DIR, if the directory |
| 678 | <global-patch-dir>/<packagename>/<packageversion>/ exists, then all |
| 679 | *.patch files in this directory will be applied. |
Simon Dawson | 5538e47 | 2013-03-17 23:13:47 +0000 | [diff] [blame] | 680 | |
Ryan Barnett | bc4f79d | 2013-12-18 04:25:01 -0600 | [diff] [blame] | 681 | Otherwise, if the directory <global-patch-dir>/<packagename> exists, |
Simon Dawson | 5538e47 | 2013-03-17 23:13:47 +0000 | [diff] [blame] | 682 | then all *.patch files in the directory will be applied. |
| 683 | |
Thomas Petazzoni | 4ac8f78 | 2014-12-10 23:53:57 +0100 | [diff] [blame] | 684 | menu "Advanced" |
| 685 | |
| 686 | config BR2_COMPILER_PARANOID_UNSAFE_PATH |
| 687 | bool "paranoid check of library/header paths" |
Romain Naour | 61c8854 | 2016-05-15 12:26:00 +0200 | [diff] [blame] | 688 | default y |
Thomas Petazzoni | 4ac8f78 | 2014-12-10 23:53:57 +0100 | [diff] [blame] | 689 | help |
| 690 | By default, when this option is disabled, when the Buildroot |
| 691 | cross-compiler will encounter an unsafe library or header |
| 692 | path (such as /usr/include, or /usr/lib), the compiler will |
| 693 | display a warning. |
| 694 | |
| 695 | By enabling this option, this warning is turned into an |
| 696 | error, which will completely abort the build when such |
| 697 | unsafe paths are encountered. |
| 698 | |
| 699 | Note that this mechanism is available for both the internal |
| 700 | toolchain (through gcc and binutils patches) and external |
| 701 | toolchain backends (through the external toolchain wrapper). |
| 702 | |
| 703 | endmenu |
| 704 | |
Eric Andersen | 8e5fb3f | 2004-12-11 13:01:10 +0000 | [diff] [blame] | 705 | endmenu |
Eric Andersen | 2d523c2 | 2004-10-09 01:06:03 +0000 | [diff] [blame] | 706 | |
Bernhard Reutner-Fischer | 5010039 | 2007-09-25 07:55:45 +0000 | [diff] [blame] | 707 | source "toolchain/Config.in" |
| 708 | |
Thomas Petazzoni | 6c3e3ad | 2012-11-03 08:27:58 +0000 | [diff] [blame] | 709 | source "system/Config.in" |
Thomas Petazzoni | beb43c7 | 2010-12-05 21:52:44 +0100 | [diff] [blame] | 710 | |
Yann E. MORIN | 2440385 | 2013-08-17 22:35:37 +0200 | [diff] [blame] | 711 | source "linux/Config.in" |
Bernhard Reutner-Fischer | 5010039 | 2007-09-25 07:55:45 +0000 | [diff] [blame] | 712 | |
Yann E. MORIN | 2440385 | 2013-08-17 22:35:37 +0200 | [diff] [blame] | 713 | source "package/Config.in" |
Thomas Petazzoni | d06e802 | 2012-01-28 18:42:49 +0100 | [diff] [blame] | 714 | |
Thomas Petazzoni | 0585241 | 2010-03-10 22:30:06 +0100 | [diff] [blame] | 715 | source "fs/Config.in" |
| 716 | |
Thomas Petazzoni | 649b5b9 | 2010-03-14 18:20:45 +0100 | [diff] [blame] | 717 | source "boot/Config.in" |
| 718 | |
Yann E. MORIN | 2440385 | 2013-08-17 22:35:37 +0200 | [diff] [blame] | 719 | source "package/Config.in.host" |
Arnout Vandecappelle (Essensium/Mind) | ebcfa98 | 2012-11-12 10:08:28 +0000 | [diff] [blame] | 720 | |
| 721 | source "Config.in.legacy" |
Thomas Petazzoni | 8eb8aaf | 2013-12-05 20:11:11 +0100 | [diff] [blame] | 722 | |
Peter Korsgaard | f4ea4b9 | 2013-12-08 23:21:50 +0100 | [diff] [blame] | 723 | menu "User-provided options" |
| 724 | depends on BR2_EXTERNAL != "support/dummy-external" |
| 725 | |
Thomas Petazzoni | 8eb8aaf | 2013-12-05 20:11:11 +0100 | [diff] [blame] | 726 | source "$BR2_EXTERNAL/Config.in" |
Peter Korsgaard | f4ea4b9 | 2013-12-08 23:21:50 +0100 | [diff] [blame] | 727 | |
| 728 | endmenu |