Eric Andersen | 2d523c2 | 2004-10-09 01:06:03 +0000 | [diff] [blame] | 1 | # |
| 2 | |
| 3 | mainmenu "Buildroot2 Configuration" |
| 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 |
Peter Korsgaard | ee609f2 | 2009-09-02 10:01:08 +0200 | [diff] [blame] | 11 | default "2009.11-git" |
Bernhard Reutner-Fischer | f5b8cd4 | 2007-09-25 11:37:31 +0000 | [diff] [blame] | 12 | |
Bernhard Reutner-Fischer | bb9e6a7 | 2007-09-28 21:54:36 +0000 | [diff] [blame] | 13 | source "target/Config.in.arch" |
Bernhard Reutner-Fischer | 4b0d5a8 | 2007-09-26 21:12:38 +0000 | [diff] [blame] | 14 | source "target/device/Config.in" |
Bernhard Reutner-Fischer | 7d8a59b | 2007-07-08 16:28:54 +0000 | [diff] [blame] | 15 | |
Eric Andersen | 8e5fb3f | 2004-12-11 13:01:10 +0000 | [diff] [blame] | 16 | menu "Build options" |
| 17 | |
Eric Andersen | 2d523c2 | 2004-10-09 01:06:03 +0000 | [diff] [blame] | 18 | config BR2_WGET |
Eric Andersen | 8e5fb3f | 2004-12-11 13:01:10 +0000 | [diff] [blame] | 19 | string "Wget command" |
Eric Andersen | fb1c67c | 2004-10-15 07:11:54 +0000 | [diff] [blame] | 20 | default "wget --passive-ftp -nd" |
Eric Andersen | 2d523c2 | 2004-10-09 01:06:03 +0000 | [diff] [blame] | 21 | |
Bernhard Reutner-Fischer | c76e2a9 | 2007-09-19 20:22:58 +0000 | [diff] [blame] | 22 | config BR2_SVN_CO |
Ulf Samuelsson | 85f54fb | 2007-08-24 05:31:07 +0000 | [diff] [blame] | 23 | string "Subversion (svn) command to download source tree" |
Eric Andersen | 229a778 | 2005-06-09 09:50:11 +0000 | [diff] [blame] | 24 | default "svn co" |
Eric Andersen | e30cf26 | 2005-01-23 11:20:30 +0000 | [diff] [blame] | 25 | |
Bernhard Reutner-Fischer | c76e2a9 | 2007-09-19 20:22:58 +0000 | [diff] [blame] | 26 | config BR2_SVN_UP |
| 27 | string "Subversion (svn) command to update source tree" |
| 28 | default "svn up" |
| 29 | |
Sven Neumann | df03cda | 2009-08-07 11:57:54 +0200 | [diff] [blame] | 30 | config BR2_BZR_CO |
| 31 | string "Bazaar (bzr) command to download source tree" |
| 32 | default "bzr co" |
| 33 | |
| 34 | config BR2_BZR_UP |
| 35 | string "Bazaar (bzr) command to update source tree" |
| 36 | default "bzr up" |
| 37 | |
Ulf Samuelsson | 85f54fb | 2007-08-24 05:31:07 +0000 | [diff] [blame] | 38 | config BR2_GIT |
| 39 | string "Git command to download source tree" |
| 40 | default "git clone" |
| 41 | |
Bernhard Reutner-Fischer | 859b913 | 2006-10-01 15:07:45 +0000 | [diff] [blame] | 42 | config BR2_ZCAT |
| 43 | string "zcat command" |
Bernhard Reutner-Fischer | a9612bf | 2007-03-09 08:26:10 +0000 | [diff] [blame] | 44 | default "gzip -d -c" |
Bernhard Reutner-Fischer | 859b913 | 2006-10-01 15:07:45 +0000 | [diff] [blame] | 45 | help |
| 46 | Command to be used to extract a gzip'ed file to stdout. |
| 47 | zcat is identical to gunzip -c except that the former may |
| 48 | not be available on your system. |
Bernhard Reutner-Fischer | a9612bf | 2007-03-09 08:26:10 +0000 | [diff] [blame] | 49 | Default is "gzip -d -c" |
| 50 | Other possible values include "gunzip -c" or "zcat". |
Bernhard Reutner-Fischer | 6e2823c | 2006-11-17 15:43:51 +0000 | [diff] [blame] | 51 | |
| 52 | config BR2_BZCAT |
| 53 | string "bzcat command" |
| 54 | default "bzcat" |
| 55 | help |
| 56 | Command to be used to extract a bzip2'ed file to stdout. |
| 57 | bzcat is identical to bunzip2 -c except that the former may |
| 58 | not be available on your system. |
| 59 | Default is "bzcat" |
| 60 | Other possible values include "bunzip2 -c" or "bzip2 -d -c". |
Bernhard Reutner-Fischer | 859b913 | 2006-10-01 15:07:45 +0000 | [diff] [blame] | 61 | |
Bernhard Reutner-Fischer | ce90aae | 2005-12-10 14:59:02 +0000 | [diff] [blame] | 62 | config BR2_TAR_OPTIONS |
| 63 | string "Tar options" |
Bernhard Reutner-Fischer | 7df4de6 | 2005-12-10 15:36:43 +0000 | [diff] [blame] | 64 | default "" |
| 65 | help |
| 66 | Options to pass to tar when extracting the sources. |
| 67 | E.g. " -v --exclude='*.svn*'" to exclude all .svn internal files |
| 68 | and to be verbose. |
Bernhard Reutner-Fischer | ce90aae | 2005-12-10 14:59:02 +0000 | [diff] [blame] | 69 | |
Mike Frysinger | 59a63a9 | 2005-10-01 00:35:24 +0000 | [diff] [blame] | 70 | config BR2_DL_DIR |
| 71 | string "Download dir" |
| 72 | default "$(BASE_DIR)/dl" |
| 73 | help |
| 74 | Directory to store all the source files that we need to fetch. |
Ulf Samuelsson | 67050e1 | 2007-08-21 01:28:12 +0000 | [diff] [blame] | 75 | If the Linux shell environment has defined the BUILDROOT_DL_DIR |
| 76 | environment variable, then this overrides this configuration item. |
Mike Frysinger | 59a63a9 | 2005-10-01 00:35:24 +0000 | [diff] [blame] | 77 | |
Bernhard Reutner-Fischer | 4b0d5a8 | 2007-09-26 21:12:38 +0000 | [diff] [blame] | 78 | The default is $(BASE_DIR)/dl |
| 79 | |
Ulf Samuelsson | 0dbf9dd | 2009-01-26 23:52:31 +0000 | [diff] [blame] | 80 | config BR2_COPYTO |
| 81 | string "Copy result to..." |
| 82 | default "" |
| 83 | help |
| 84 | Setting this variable will (eventually) override |
| 85 | any other copyto configurations in buildroot. |
| 86 | |
Bernhard Reutner-Fischer | bb9e6a7 | 2007-09-28 21:54:36 +0000 | [diff] [blame] | 87 | source "target/device/Config.in.mirrors" |
Bernhard Reutner-Fischer | 98a7a4c | 2007-08-28 21:42:44 +0000 | [diff] [blame] | 88 | |
Eric Andersen | ba7c48f | 2004-12-11 10:25:40 +0000 | [diff] [blame] | 89 | config BR2_STAGING_DIR |
| 90 | string "Toolchain and header file location?" |
Thomas Petazzoni | 3b2a803 | 2009-07-31 10:31:39 +0200 | [diff] [blame^] | 91 | default "$(BASE_DIR)/staging" |
Eric Andersen | ba7c48f | 2004-12-11 10:25:40 +0000 | [diff] [blame] | 92 | help |
Bernhard Reutner-Fischer | 93ab6d3 | 2007-01-28 12:03:58 +0000 | [diff] [blame] | 93 | This is the location where the toolchain will be installed. The |
| 94 | toolchain will not work if it is moved from this location. |
| 95 | Therefore, if you wish to package up a uClibc toolchain, it is |
| 96 | important that is is set to the final location where the toolchain |
| 97 | will be used. |
Eric Andersen | ba7c48f | 2004-12-11 10:25:40 +0000 | [diff] [blame] | 98 | |
Bernhard Reutner-Fischer | 93ab6d3 | 2007-01-28 12:03:58 +0000 | [diff] [blame] | 99 | Most people will leave this set to the default value of |
Thomas Petazzoni | 3b2a803 | 2009-07-31 10:31:39 +0200 | [diff] [blame^] | 100 | "$(BASE_DIR)/staging". |
Eric Andersen | ba7c48f | 2004-12-11 10:25:40 +0000 | [diff] [blame] | 101 | |
Ulf Samuelsson | 3c27391 | 2007-10-18 12:38:26 +0000 | [diff] [blame] | 102 | config BR2_FPU_SUFFIX |
| 103 | bool "Add '_nofpu' suffix for softfloat toolchains" |
Ulf Samuelsson | 3c27391 | 2007-10-18 12:38:26 +0000 | [diff] [blame] | 104 | help |
| 105 | If the toolchain is configured to use softfloat, then |
| 106 | the "_nofpu" suffix will be added to the toolchain build |
| 107 | directory name and to any rootfs image name |
| 108 | |
Mike Frysinger | 70ea98e | 2005-12-27 08:42:13 +0000 | [diff] [blame] | 109 | config BR2_GNU_BUILD_SUFFIX |
| 110 | string "GNU build hostname suffix" |
| 111 | default "pc-linux-gnu" |
| 112 | help |
Bernhard Reutner-Fischer | 93ab6d3 | 2007-01-28 12:03:58 +0000 | [diff] [blame] | 113 | The string used to pass to configure scripts via the |
| 114 | --build= option. Just specify the suffix here, the leading |
| 115 | arch will be filled in automatically. |
Mike Frysinger | 70ea98e | 2005-12-27 08:42:13 +0000 | [diff] [blame] | 116 | |
Bernhard Reutner-Fischer | 93ab6d3 | 2007-01-28 12:03:58 +0000 | [diff] [blame] | 117 | Here's some copy and paste build host options for you: |
Mike Frysinger | 70ea98e | 2005-12-27 08:42:13 +0000 | [diff] [blame] | 118 | linux: pc-linux-gnu |
| 119 | cygwin: pc-cygwin |
| 120 | os x: apple-darwin7 / apple-darwin8 |
| 121 | |
Paul Mundt | d56e2b3 | 2006-06-05 21:49:44 +0000 | [diff] [blame] | 122 | config BR2_GNU_TARGET_SUFFIX |
| 123 | string "GNU target suffix" |
Paul Mundt | 61aa805 | 2006-06-05 22:11:01 +0000 | [diff] [blame] | 124 | default "linux-uclibcgnueabi" if BR2_ARM_EABI |
Paul Mundt | d56e2b3 | 2006-06-05 21:49:44 +0000 | [diff] [blame] | 125 | default "linux-uclibc" |
| 126 | help |
Bernhard Reutner-Fischer | 93ab6d3 | 2007-01-28 12:03:58 +0000 | [diff] [blame] | 127 | The string used to pass to configure scripts via the |
| 128 | --target= option. Just specify the suffix here, the leading |
| 129 | arch will be filled in automatically. |
Paul Mundt | d56e2b3 | 2006-06-05 21:49:44 +0000 | [diff] [blame] | 130 | |
Bernhard Reutner-Fischer | 93ab6d3 | 2007-01-28 12:03:58 +0000 | [diff] [blame] | 131 | Most users will want to stick with the default setting, though |
| 132 | other users (most notably ARM EABI) like to add on to this in |
| 133 | order to stay in line with gcc conventions. |
Paul Mundt | d56e2b3 | 2006-06-05 21:49:44 +0000 | [diff] [blame] | 134 | |
Bernhard Reutner-Fischer | 93ab6d3 | 2007-01-28 12:03:58 +0000 | [diff] [blame] | 135 | Default options are: |
Bernhard Reutner-Fischer | c3c100b | 2006-07-04 11:44:32 +0000 | [diff] [blame] | 136 | linux-uclibcgnueabi for ARM EABI |
| 137 | linux-uclibc for the rest |
Bernhard Reutner-Fischer | 0c16c17 | 2007-10-05 11:06:56 +0000 | [diff] [blame] | 138 | gnuhurd-uclibc for the hurd |
Bernhard Reutner-Fischer | c3c100b | 2006-07-04 11:44:32 +0000 | [diff] [blame] | 139 | |
Eric Andersen | 8e5fb3f | 2004-12-11 13:01:10 +0000 | [diff] [blame] | 140 | config BR2_JLEVEL |
| 141 | int "Number of jobs to run simultaneously" |
| 142 | default "1" |
| 143 | help |
Bernhard Reutner-Fischer | 93ab6d3 | 2007-01-28 12:03:58 +0000 | [diff] [blame] | 144 | Number of jobs to run simultaneously |
| 145 | |
| 146 | config BR2_PREFER_IMA |
| 147 | bool "prefer IMA compiles" |
Bernhard Reutner-Fischer | 93ab6d3 | 2007-01-28 12:03:58 +0000 | [diff] [blame] | 148 | help |
| 149 | Where possible, compile package with Inter Module Analysis. |
| 150 | This potentially uses alot of system resources on your compile |
| 151 | host with the benefit of creating smaller binaries for the target. |
| 152 | |
| 153 | If unsure, say No. |
| 154 | |
| 155 | WARNING: This is highly experimental at the moment. |
| 156 | |
Bernhard Reutner-Fischer | 7779fd7 | 2007-02-09 13:31:55 +0000 | [diff] [blame] | 157 | config BR2_DEPRECATED |
Bernhard Reutner-Fischer | 5e1f034 | 2007-02-09 13:35:41 +0000 | [diff] [blame] | 158 | bool "Show packages that are deprecated or obsolete" |
Bernhard Reutner-Fischer | 7779fd7 | 2007-02-09 13:31:55 +0000 | [diff] [blame] | 159 | help |
Bernhard Reutner-Fischer | 5e1f034 | 2007-02-09 13:35:41 +0000 | [diff] [blame] | 160 | This option hides outdated/obsolete versions of packages. |
Eric Andersen | ba7c48f | 2004-12-11 10:25:40 +0000 | [diff] [blame] | 161 | |
Ulf Samuelsson | cfeb86e | 2007-10-07 18:29:17 +0000 | [diff] [blame] | 162 | config BR2_RECENT |
| 163 | bool "Show packages that are of the latest major version" |
| 164 | default y |
| 165 | help |
| 166 | This option show recent versions of packages. |
| 167 | |
Daniel Laird | 5432f26 | 2008-11-28 14:20:47 +0000 | [diff] [blame] | 168 | config BR2_CONFIG_CACHE |
| 169 | bool "Use a central configure cache file" |
Daniel Laird | 5432f26 | 2008-11-28 14:20:47 +0000 | [diff] [blame] | 170 | help |
| 171 | This determines if a central config cache is used by |
| 172 | packages, reducing the configure time for packages as each |
| 173 | one caches its findings. |
| 174 | |
John Voltz | 41f6b79 | 2008-03-12 13:07:10 +0000 | [diff] [blame] | 175 | config BR2_ENABLE_DEBUG |
| 176 | bool "build packages with debugging symbols" |
John Voltz | 809fa27 | 2008-03-12 13:11:29 +0000 | [diff] [blame] | 177 | select BR2_PACKAGE_GDB_SERVER |
John Voltz | 41f6b79 | 2008-03-12 13:07:10 +0000 | [diff] [blame] | 178 | help |
| 179 | Build packages with debugging symbols |
| 180 | enabled |
| 181 | |
| 182 | if BR2_ENABLE_DEBUG |
| 183 | choice |
| 184 | prompt "gcc debug level" |
| 185 | default BR2_DEBUG_2 |
| 186 | help |
| 187 | Set the debug level for gcc |
| 188 | |
| 189 | config BR2_DEBUG_1 |
| 190 | bool "debug level 1" |
| 191 | help |
Peter Korsgaard | 02a623d | 2008-08-04 19:07:05 +0000 | [diff] [blame] | 192 | Debug level 1 produces minimal information, enough |
| 193 | for making backtraces in parts of the program that |
| 194 | you don't plan to debug. This includes descriptions |
John Voltz | 41f6b79 | 2008-03-12 13:07:10 +0000 | [diff] [blame] | 195 | of functions and external variables, but no information |
| 196 | about local variables and no line numbers. |
| 197 | |
| 198 | config BR2_DEBUG_2 |
| 199 | bool "debug level 2" |
| 200 | help |
| 201 | The default gcc debug level is 2 |
| 202 | |
| 203 | config BR2_DEBUG_3 |
| 204 | bool "debug level 3" |
| 205 | help |
Peter Korsgaard | 02a623d | 2008-08-04 19:07:05 +0000 | [diff] [blame] | 206 | Level 3 includes extra information, such as all the |
John Voltz | 41f6b79 | 2008-03-12 13:07:10 +0000 | [diff] [blame] | 207 | macro definitions present in the program. Some debuggers |
| 208 | support macro expansion when you use -g3. |
| 209 | endchoice |
| 210 | endif |
| 211 | |
Bernhard Reutner-Fischer | bbd251a | 2007-07-31 18:06:50 +0000 | [diff] [blame] | 212 | choice |
| 213 | prompt "strip" |
| 214 | default BR2_STRIP_strip |
| 215 | help |
| 216 | Select whether to strip binaries and libraries for the target |
| 217 | or not. |
| 218 | strip is the normal strip command |
| 219 | sstrip is a strip that discards more than the normal strip |
| 220 | none do not strip (only for debugging!) |
| 221 | |
| 222 | config BR2_STRIP_strip |
| 223 | bool "strip" |
Peter Korsgaard | b99fffd | 2009-01-28 07:59:48 +0000 | [diff] [blame] | 224 | depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT |
Bernhard Reutner-Fischer | bbd251a | 2007-07-31 18:06:50 +0000 | [diff] [blame] | 225 | help |
| 226 | strip is the normal strip command |
Ulf Samuelsson | 85f54fb | 2007-08-24 05:31:07 +0000 | [diff] [blame] | 227 | |
Bernhard Reutner-Fischer | bbd251a | 2007-07-31 18:06:50 +0000 | [diff] [blame] | 228 | config BR2_STRIP_sstrip |
| 229 | bool "sstrip" |
| 230 | select BR2_PACKAGE_SSTRIP_HOST |
Peter Korsgaard | 378f899 | 2009-01-28 06:32:39 +0000 | [diff] [blame] | 231 | depends on !BR2_ENABLE_DEBUG && !BR2_ELF2FLT |
Bernhard Reutner-Fischer | bbd251a | 2007-07-31 18:06:50 +0000 | [diff] [blame] | 232 | help |
| 233 | sstrip is a strip that discards more than the normal strip |
Ulf Samuelsson | 85f54fb | 2007-08-24 05:31:07 +0000 | [diff] [blame] | 234 | |
Bernhard Reutner-Fischer | bbd251a | 2007-07-31 18:06:50 +0000 | [diff] [blame] | 235 | config BR2_STRIP_none |
| 236 | bool "none" |
| 237 | help |
| 238 | none do not strip (only for debugging!) |
| 239 | endchoice |
| 240 | |
John Voltz | 41f6b79 | 2008-03-12 13:07:10 +0000 | [diff] [blame] | 241 | choice |
| 242 | prompt "gcc optimization level" |
John Voltz | 7eb796b | 2008-03-16 13:26:14 +0000 | [diff] [blame] | 243 | default BR2_OPTIMIZE_S |
John Voltz | 923f42a | 2008-03-12 11:23:11 +0000 | [diff] [blame] | 244 | help |
John Voltz | 41f6b79 | 2008-03-12 13:07:10 +0000 | [diff] [blame] | 245 | Set the optimization level for gcc |
| 246 | |
| 247 | config BR2_OPTIMIZE_0 |
| 248 | bool "optimization level 0" |
Ulf Samuelsson | 0bd3ec2 | 2008-03-30 21:49:16 +0000 | [diff] [blame] | 249 | depends on !BR2_PACKAGE_LINUX |
John Voltz | 41f6b79 | 2008-03-12 13:07:10 +0000 | [diff] [blame] | 250 | help |
Peter Korsgaard | 02a623d | 2008-08-04 19:07:05 +0000 | [diff] [blame] | 251 | Do not optimize. This is the default. |
John Voltz | 41f6b79 | 2008-03-12 13:07:10 +0000 | [diff] [blame] | 252 | |
| 253 | config BR2_OPTIMIZE_1 |
| 254 | bool "optimization level 1" |
Ulf Samuelsson | 0bd3ec2 | 2008-03-30 21:49:16 +0000 | [diff] [blame] | 255 | depends on !BR2_PACKAGE_LINUX |
John Voltz | 41f6b79 | 2008-03-12 13:07:10 +0000 | [diff] [blame] | 256 | help |
Peter Korsgaard | 02a623d | 2008-08-04 19:07:05 +0000 | [diff] [blame] | 257 | Optimize. Optimizing compilation takes somewhat more time, |
| 258 | and a lot more memory for a large function. With -O, the |
| 259 | compiler tries to reduce code size and execution time, |
| 260 | without performing any optimizations that take a great deal |
| 261 | of compilation time. -O turns on the following optimization |
| 262 | flags: -fdefer-pop -fdelayed-branch -fguess-branch-probability |
| 263 | -fcprop-registers -floop-optimize -fif-conversion |
| 264 | -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts |
| 265 | -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename |
John Voltz | 41f6b79 | 2008-03-12 13:07:10 +0000 | [diff] [blame] | 266 | -ftree-fre -ftree-ch -funit-at-a-time -fmerge-constants |
Peter Korsgaard | 02a623d | 2008-08-04 19:07:05 +0000 | [diff] [blame] | 267 | -O also turns on -fomit-frame-pointer on machines where doing |
John Voltz | 41f6b79 | 2008-03-12 13:07:10 +0000 | [diff] [blame] | 268 | so does not interfere with debugging. |
| 269 | |
| 270 | config BR2_OPTIMIZE_2 |
| 271 | bool "optimization level 2" |
| 272 | help |
| 273 | Optimize even more. GCC performs nearly all supported optimizations |
Peter Korsgaard | 02a623d | 2008-08-04 19:07:05 +0000 | [diff] [blame] | 274 | that do not involve a space-speed tradeoff. The compiler does not |
| 275 | perform loop unrolling or function inlining when you specify -O2. |
| 276 | As compared to -O, this option increases both compilation time and |
| 277 | the performance of the generated code. -O2 turns on all optimization |
| 278 | flags specified by -O. It also turns on the following optimization |
| 279 | flags: -fthread-jumps -fcrossjumping -foptimize-sibling-calls |
| 280 | -fcse-follow-jumps -fcse-skip-blocks -fgcse -fgcse-lm |
| 281 | -fexpensive-optimizations -fstrength-reduce -frerun-cse-after-loop |
| 282 | -frerun-loop-opt -fcaller-saves -fpeephole2 -fschedule-insns |
| 283 | -fschedule-insns2 -fsched-interblock -fsched-spec -fregmove |
| 284 | -fstrict-aliasing -fdelete-null-pointer-checks -freorder-blocks |
| 285 | -freorder-functions -falign-functions -falign-jumps -falign-loops |
John Voltz | 41f6b79 | 2008-03-12 13:07:10 +0000 | [diff] [blame] | 286 | -falign-labels -ftree-vrp -ftree-pre |
| 287 | Please note the warning under -fgcse about invoking -O2 on programs |
| 288 | that use computed gotos. |
| 289 | |
| 290 | config BR2_OPTIMIZE_3 |
| 291 | bool "optimization level 3" |
| 292 | help |
Peter Korsgaard | 02a623d | 2008-08-04 19:07:05 +0000 | [diff] [blame] | 293 | Optimize yet more. -O3 turns on all optimizations specified by -O2 |
| 294 | and also turns on the -finline-functions, -funswitch-loops and |
John Voltz | 41f6b79 | 2008-03-12 13:07:10 +0000 | [diff] [blame] | 295 | -fgcse-after-reload options. |
| 296 | |
| 297 | config BR2_OPTIMIZE_S |
| 298 | bool "optimize for size" |
| 299 | help |
Peter Korsgaard | 02a623d | 2008-08-04 19:07:05 +0000 | [diff] [blame] | 300 | Optimize for size. -Os enables all -O2 optimizations that do not |
John Voltz | 41f6b79 | 2008-03-12 13:07:10 +0000 | [diff] [blame] | 301 | typically increase code size. It also performs further optimizations |
Peter Korsgaard | 02a623d | 2008-08-04 19:07:05 +0000 | [diff] [blame] | 302 | designed to reduce code size. -Os disables the following optimization |
| 303 | flags: -falign-functions -falign-jumps -falign-loops -falign-labels |
John Voltz | 41f6b79 | 2008-03-12 13:07:10 +0000 | [diff] [blame] | 304 | -freorder-blocks -freorder-blocks-and-partition -fprefetch-loop-arrays |
| 305 | -ftree-vect-loop-version |
Peter Korsgaard | 02a623d | 2008-08-04 19:07:05 +0000 | [diff] [blame] | 306 | |
John Voltz | 41f6b79 | 2008-03-12 13:07:10 +0000 | [diff] [blame] | 307 | endchoice |
John Voltz | 923f42a | 2008-03-12 11:23:11 +0000 | [diff] [blame] | 308 | |
Bernhard Reutner-Fischer | 3096f34 | 2007-06-01 22:16:28 +0000 | [diff] [blame] | 309 | config BR2_PREFER_STATIC_LIB |
| 310 | bool "prefer static libraries" |
Bernhard Reutner-Fischer | 3096f34 | 2007-06-01 22:16:28 +0000 | [diff] [blame] | 311 | help |
Bernhard Reutner-Fischer | ece6fe0 | 2007-06-02 16:36:43 +0000 | [diff] [blame] | 312 | Where possible, build and use static libraries for the target. |
| 313 | This potentially increases your code size and should only be |
| 314 | used if you know what you do. |
| 315 | The default is to build dynamic libraries and use those on |
| 316 | the target filesystem. |
Bernhard Reutner-Fischer | 3096f34 | 2007-06-01 22:16:28 +0000 | [diff] [blame] | 317 | |
| 318 | WARNING: This is highly experimental at the moment. |
| 319 | |
Bernhard Reutner-Fischer | 5795931 | 2007-08-21 14:20:59 +0000 | [diff] [blame] | 320 | config BR2_HAVE_MANPAGES |
| 321 | bool "manpages on the target" |
Bernhard Reutner-Fischer | 5795931 | 2007-08-21 14:20:59 +0000 | [diff] [blame] | 322 | help |
| 323 | Leave the manpages on the target. |
| 324 | If you say n here, your target will not contain any |
| 325 | manpage. |
| 326 | |
| 327 | config BR2_HAVE_INFOPAGES |
| 328 | bool "infopages on the target" |
Bernhard Reutner-Fischer | 5795931 | 2007-08-21 14:20:59 +0000 | [diff] [blame] | 329 | help |
| 330 | Leave the infopages on the target. |
| 331 | If you say n here, your target will not contain any |
| 332 | infopage. |
| 333 | |
Peter Korsgaard | 886b274 | 2008-10-20 11:32:25 +0000 | [diff] [blame] | 334 | config BR2_HAVE_DOCUMENTATION |
| 335 | bool "documentation on the target" |
| 336 | help |
| 337 | Leave the documentation on the target. |
| 338 | If you say n here, your target will not contain any |
| 339 | documentation. |
| 340 | |
John Voltz | f5b96fc | 2008-03-10 16:34:19 +0000 | [diff] [blame] | 341 | config BR2_HAVE_DEVFILES |
| 342 | bool "development files in target filesystem" |
John Voltz | bc67ca2 | 2008-03-10 15:22:43 +0000 | [diff] [blame] | 343 | help |
| 344 | Install headers and static libraries in the |
| 345 | target filesystem |
| 346 | |
Bernhard Reutner-Fischer | 5795931 | 2007-08-21 14:20:59 +0000 | [diff] [blame] | 347 | source package/gnuconfig/Config.in |
| 348 | |
Eric Andersen | 8e5fb3f | 2004-12-11 13:01:10 +0000 | [diff] [blame] | 349 | endmenu |
Eric Andersen | 2d523c2 | 2004-10-09 01:06:03 +0000 | [diff] [blame] | 350 | |
Bernhard Reutner-Fischer | 5010039 | 2007-09-25 07:55:45 +0000 | [diff] [blame] | 351 | source "toolchain/Config.in" |
| 352 | |
| 353 | source "package/Config.in" |
| 354 | |
| 355 | source "target/Config.in" |